Skip to content

Commit

Permalink
Fixes deprecated warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
kzaher committed Aug 21, 2016
1 parent ef71ba9 commit 900035d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions RxCocoa/iOS/UICollectionView+Rx.swift
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ extension UICollectionView {
}
.addDisposableTo(disposeBag)
*/
@available(*, deprecated, renamed: "items(cellIdentifier:cellType:_:_:)")
@available(*, deprecated, renamed: "rx.items(cellIdentifier:cellType:_:_:)")
public func rx_itemsWithCellIdentifier<S: Sequence, Cell: UICollectionViewCell, O : ObservableType>
(_ cellIdentifier: String, cellType: Cell.Type = Cell.self)
-> (_ source: O)
Expand Down Expand Up @@ -377,7 +377,7 @@ extension UICollectionView {
}
.addDisposableTo(disposeBag)
*/
@available(*, deprecated, renamed: "items(_:_:)")
@available(*, deprecated, renamed: "rx.items(_:_:)")
public func rx_itemsWithCellFactory<S: Sequence, O: ObservableType>
(_ source: O)
-> (_ cellFactory: @escaping (UICollectionView, Int, S.Iterator.Element) -> UICollectionViewCell)
Expand Down Expand Up @@ -426,7 +426,7 @@ extension UICollectionView {
.bindTo(collectionView.rx.items(dataSource: dataSource))
.addDisposableTo(disposeBag)
*/
@available(*, deprecated, renamed: "items(dataSource:_:)")
@available(*, deprecated, renamed: "rx.items(dataSource:_:)")
public func rx_itemsWithDataSource<
DataSource: RxCollectionViewDataSourceType & UICollectionViewDataSource,
O: ObservableType>
Expand Down
6 changes: 3 additions & 3 deletions RxCocoa/iOS/UITableView+Rx.swift
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ extension UITableView {
.addDisposableTo(disposeBag)

*/
@available(*, deprecated, renamed: "items(_:_:)")
@available(*, deprecated, renamed: "rx.items(_:_:)")
public func rx_itemsWithCellFactory<S: Sequence, O: ObservableType>
(_ source: O)
-> (_ cellFactory: @escaping (UITableView, Int, S.Iterator.Element) -> UITableViewCell)
Expand Down Expand Up @@ -460,7 +460,7 @@ extension UITableView {
}
.addDisposableTo(disposeBag)
*/
@available(*, deprecated, renamed: "items(cellIdentifier:cellType:_:_:)")
@available(*, deprecated, renamed: "rx.items(cellIdentifier:cellType:_:_:)")
public func rx_itemsWithCellIdentifier<S: Sequence, Cell: UITableViewCell, O : ObservableType>
(_ cellIdentifier: String, cellType: Cell.Type = Cell.self)
-> (_ source: O)
Expand Down Expand Up @@ -517,7 +517,7 @@ extension UITableView {
.bindTo(tableView.rx.items(dataSoruce: dataSource))
.addDisposableTo(disposeBag)
*/
@available(*, deprecated, renamed: "items(dataSource:_:)")
@available(*, deprecated, renamed: "rx.items(dataSource:_:)")
public func rx_itemsWithDataSource<
DataSource: RxTableViewDataSourceType & UITableViewDataSource,
O: ObservableType>
Expand Down

0 comments on commit 900035d

Please sign in to comment.