Updates RxDataSources.
This commit is contained in:
parent
8a3b47953d
commit
49b1481dff
|
|
@ -34,6 +34,6 @@ public struct SectionModel<Section, ItemType>
|
|||
extension SectionModel {
|
||||
public init(original: SectionModel<Section, Item>, items: [Item]) {
|
||||
self.model = original.model
|
||||
self.items = original.items
|
||||
self.items = items
|
||||
}
|
||||
}
|
||||
|
|
@ -219,7 +219,7 @@ public class RxTableViewSectionedDataSource<S: SectionModelType>
|
|||
}
|
||||
|
||||
override func _rx_tableView(tableView: UITableView, sectionForSectionIndexTitle title: String, atIndex index: Int) -> Int {
|
||||
guard let section = sectionForSectionIndexTitle?(self, title: title, index: index) else {
|
||||
guard let section = sectionForSectionIndexTitle?(self, title: title, index: index) else {
|
||||
return super._rx_tableView(tableView, sectionForSectionIndexTitle: title, atIndex: index)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue