Excludes table and collection view deprecated APIs from watchOS.

This commit is contained in:
Krunoslav Zaher 2016-08-21 15:20:57 +02:00
parent 7208a8d1cc
commit 8cebcd786f
2 changed files with 6 additions and 0 deletions

View File

@ -312,6 +312,8 @@ extension Reactive where Base: UICollectionView {
}
#endif
#if os(iOS) || os(tvOS)
extension UICollectionView {
/**
@ -445,3 +447,4 @@ extension UICollectionView {
return try self.rx.model(indexPath)
}
}
#endif

View File

@ -397,6 +397,8 @@ extension Reactive where Base: UITableView {
}
#endif
#if os(iOS) || os(tvOS)
// deprecated APIs
extension UITableView {
@ -538,3 +540,4 @@ extension UITableView {
}
}
#endif