[swift-evolution] [PITCH] ADD AN @RESTRICTED DECLARATION ATTRIBUTE
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".
More information about the swift-evolution