[swift-evolution] [PITCH] ADD AN @RESTRICTED DECLARATION ATTRIBUTE
Brent Royal-Gordon
brent at architechies.com
Thu May 26 16:14:59 CDT 2016
> @available(OS X 10.9, restricted)
Personally, I would prefer something like this, perhaps spelled:
@available(OS X 10.9, only)
When using shorthand form, you would have to write either `*` or `only` as the last element. `*` means "and any other platforms", while `only` means "only the listed platforms".
--
Brent Royal-Gordon
Architechies
More information about the swift-evolution
mailing list