diff --git a/RxExample/RxDataSources/DataSources/SectionModel.swift b/RxExample/RxDataSources/DataSources/SectionModel.swift index a503b1d2..b0930158 100644 --- a/RxExample/RxDataSources/DataSources/SectionModel.swift +++ b/RxExample/RxDataSources/DataSources/SectionModel.swift @@ -34,6 +34,6 @@ public struct SectionModel extension SectionModel { public init(original: SectionModel, items: [Item]) { self.model = original.model - self.items = original.items + self.items = items } } \ No newline at end of file diff --git a/RxExample/RxDataSources/DataSources/TableViewSectionedDataSource.swift b/RxExample/RxDataSources/DataSources/TableViewSectionedDataSource.swift index f2e09e35..2fbc7bf7 100644 --- a/RxExample/RxDataSources/DataSources/TableViewSectionedDataSource.swift +++ b/RxExample/RxDataSources/DataSources/TableViewSectionedDataSource.swift @@ -219,7 +219,7 @@ public class RxTableViewSectionedDataSource } 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) }