We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 910b1fc + e10fb4e commit c85cbceCopy full SHA for c85cbce
Foundation/Bundle.swift
@@ -77,7 +77,8 @@ open class Bundle: NSObject {
77
open var isLoaded: Bool {
78
return CFBundleIsExecutableLoaded(_bundle)
79
}
80
- open func unload() -> Bool { NSUnimplemented() }
+ @available(*,deprecated,message:"Not available on non-Darwin platforms")
81
+ open func unload() -> Bool { NSUnsupported() }
82
83
open func preflight() throws {
84
var unmanagedError:Unmanaged<CFError>? = nil
0 commit comments