Skip to content

Commit ca1d448

Browse files
devxoulkzaher
authored andcommitted
Add os check in Deprecated.swift
1 parent 3f9b23f commit ca1d448

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/RxDataSources/Deprecated.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
// Copyright © 2017 kzaher. All rights reserved.
77
//
88

9+
#if os(iOS) || os(tvOS)
910
extension CollectionViewSectionedDataSource {
1011
@available(*, deprecated, renamed: "configureSupplementaryView")
1112
public var supplementaryViewFactory: ConfigureSupplementaryView {
@@ -17,3 +18,4 @@ extension CollectionViewSectionedDataSource {
1718
}
1819
}
1920
}
21+
#endif

0 commit comments

Comments
 (0)