mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The API review list found it confusing that if #os() and #if os() looked so similar, so
change the availability checking query to be spelled #available:
if #available(iOS >= 9.0, *) {
...
}
Swift SVN r26995
7.1 KiB
7.1 KiB