Skip to content

Commit 2bdaa07

Browse files
committed
Removes deprecated APIs.
1 parent 68556d3 commit 2bdaa07

File tree

3 files changed

+9
-15
lines changed

3 files changed

+9
-15
lines changed

Podfile.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PODS:
2-
- RxCocoa (3.0.0.alpha.1):
3-
- RxSwift (~> 3.0.0.alpha.1)
4-
- RxSwift (3.0.0.alpha.1)
2+
- RxCocoa (3.0.0-rc.1):
3+
- RxSwift (~> 3.0.0-rc.1)
4+
- RxSwift (3.0.0-rc.1)
55

66
DEPENDENCIES:
77
- RxCocoa (from `[email protected]:ReactiveX/RxSwift.git`, branch `master`)
@@ -17,15 +17,15 @@ EXTERNAL SOURCES:
1717

1818
CHECKOUT OPTIONS:
1919
RxCocoa:
20-
:commit: 4a36de8a2452b2cee62bc5cb8a5376e755f2d8e7
20+
:commit: 501a5dc4ba56834f85fd9cf592c4336759330978
2121
:git: [email protected]:ReactiveX/RxSwift.git
2222
RxSwift:
23-
:commit: 4a36de8a2452b2cee62bc5cb8a5376e755f2d8e7
23+
:commit: 501a5dc4ba56834f85fd9cf592c4336759330978
2424
:git: [email protected]:ReactiveX/RxSwift.git
2525

2626
SPEC CHECKSUMS:
27-
RxCocoa: 37b3b167eaa14446a315493ef6a188b277942b15
28-
RxSwift: 0bccfee1e979c1b72a5d1dffdf96119303b5d111
27+
RxCocoa: 5dc35c1bbda792ce1b78544ec293a45a59008781
28+
RxSwift: 00ffe5e4bc528e93765ccf04ab6408e39dd2a602
2929

3030
PODFILE CHECKSUM: 43bd333b10d7dfc5029b1ff3167bbf181e4f3f65
3131

Sources/DataSources/CollectionViewSectionedDataSource.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ open class CollectionViewSectionedDataSource<S: SectionModelType>
115115
}
116116
}
117117

118-
open func model(_ indexPath: IndexPath) throws -> Any {
118+
open func model(at indexPath: IndexPath) throws -> Any {
119119
return self[indexPath]
120120
}
121121

Sources/DataSources/TableViewSectionedDataSource.swift

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,6 @@ open class TableViewSectionedDataSource<S: SectionModelType>
134134
return _sectionModels.map { Section(original: $0.model, items: $0.items) }
135135
}
136136

137-
@available(*, deprecated, renamed: "subscript(section:)")
138-
open func sectionAtIndex(_ section: Int) -> S {
139-
let sectionModel = _sectionModels[section]
140-
return Section(original: sectionModel.model, items: sectionModel.items)
141-
}
142-
143137
open subscript(section: Int) -> S {
144138
let sectionModel = self._sectionModels[section]
145139
return S(original: sectionModel.model, items: sectionModel.items)
@@ -156,7 +150,7 @@ open class TableViewSectionedDataSource<S: SectionModelType>
156150
}
157151
}
158152

159-
open func model(_ indexPath: IndexPath) throws -> Any {
153+
open func model(at indexPath: IndexPath) throws -> Any {
160154
return self[indexPath]
161155
}
162156

0 commit comments

Comments
 (0)