Structure
DefaultAvailability
A collection of modules and the default platform availability for symbols in that module.
struct DefaultAvailability
Discussion
Default availability is used as a fallback value for symbols without explicit availability information.
This information can be authored in the bundle’s Info.plist file, as a dictionary of module names to arrays of platform “name” and “version” pairs, or in the case where the platform in unconditionally unavailable, “name” and “unavailable” pairs:
<key>CDAppleDefaultAvailability</key>
<dict>
<key>Module Name</key>
<array>
<dict>
<key>name</key>
<string>Platform Name</string>
<key>version</key>
<string>Version Number</string>
</dict>
<dict>
<key>name</key>
<string>Platform Name</string>
</dict>
<dict>
<key>name</key>
<string>Other Platform Name</string>
<key>unavailable</key>
<true/>
</dict>
</array>
</dict>
Topics
Structures
Initializers
Instance Methods