Fixes warnings.

This commit is contained in:
Krunoslav Zaher 2016-08-07 16:04:47 +02:00
parent 091b12242a
commit 10b0d39e05
1 changed files with 1 additions and 12 deletions

View File

@ -20,12 +20,8 @@ class TableViewDataSourceNotSet
: NSObject
, UITableViewDataSource {
func numberOfSectionsInTableView(tableView: UITableView) -> Int {
return 0
}
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
rxAbstractMethodWithMessage(dataSourceNotSet)
return 0
}
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
@ -60,13 +56,6 @@ public class RxTableViewDataSourceProxy
// MARK: delegate
/**
Required delegate method implementation.
*/
public func numberOfSectionsInTableView(tableView: UITableView) -> Int {
return (_requiredMethodsDataSource ?? tableViewDataSourceNotSet).numberOfSections?(in: tableView) ?? 0
}
/**
Required delegate method implementation.
*/