Skip to content

Commit 06be566

Browse files
committed
fix: Compatibility with non-Apple platforms
1 parent d8fe768 commit 06be566

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Sources/Deprecated/FunctionalConfigurator/Deprecated/Protocols/__ConfigInitializableNSObject.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import Foundation
22

3+
#if canImport(ObjectiveC)
34
/// Do not use this protocol, it will be removed in future versions in favor or safer APIs
45
///
56
/// It's an implementation detail used to silence implementation warnings for
@@ -90,3 +91,4 @@ fileprivate extension ___ConfigInitializableNSObject_DEPRECATED where Self: NSOb
9091
}
9192

9293
extension NSObject: ___ConfigInitializableNSObject_DEPRECATED {}
94+
#endif

0 commit comments

Comments
 (0)