mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This came out of today's language review meeting. The intent is to match #available with the attribute that describes availability. This is a divergence from Objective-C. Swift SVN r28484
7 lines
141 B
Swift
7 lines
141 B
Swift
|
|
@available(OSX, introduced=10.9)
|
|
let globalAvailableOn10_9: Int = 9
|
|
|
|
@available(OSX, introduced=10.10)
|
|
let globalAvailableOn10_10: Int = 10
|