@@ -57,10 +57,6 @@ public class _TableViewSectionedDataSource
57
57
return _rx_tableView ( tableView, titleForFooterInSection: section)
58
58
}
59
59
60
- public var canEditRowAtIndexPathImplemented : Bool {
61
- return false
62
- }
63
-
64
60
func _rx_tableView( tableView: UITableView , canEditRowAtIndexPath indexPath: NSIndexPath ) -> Bool {
65
61
return true
66
62
}
@@ -100,13 +96,6 @@ public class _TableViewSectionedDataSource
100
96
_rx_tableView ( tableView, moveRowAtIndexPath: sourceIndexPath, toIndexPath: destinationIndexPath)
101
97
}
102
98
103
- override public func respondsToSelector( aSelector: Selector ) -> Bool {
104
- if aSelector == #selector( UITableViewDataSource . tableView ( _: canEditRowAtIndexPath: ) ) {
105
- return self . canEditRowAtIndexPathImplemented
106
- }
107
-
108
- return super. respondsToSelector ( aSelector)
109
- }
110
99
}
111
100
112
101
public class RxTableViewSectionedDataSource < S: SectionModelType >
@@ -160,10 +149,6 @@ public class RxTableViewSectionedDataSource<S: SectionModelType>
160
149
public var titleForFooterInSection : ( ( RxTableViewSectionedDataSource < S > , section: Int ) -> String ? ) ?
161
150
162
151
public var canEditRowAtIndexPath : ( ( RxTableViewSectionedDataSource < S > , indexPath: NSIndexPath ) -> Bool ) ?
163
- override public var canEditRowAtIndexPathImplemented : Bool {
164
- let result = canEditRowAtIndexPath != nil
165
- return result
166
- }
167
152
public var canMoveRowAtIndexPath : ( ( RxTableViewSectionedDataSource < S > , indexPath: NSIndexPath ) -> Bool ) ?
168
153
169
154
public var sectionIndexTitles : ( ( RxTableViewSectionedDataSource < S > ) -> [ String ] ? ) ?
0 commit comments