On Jul 12, 2016, at 11:25 , William Squires <[email protected]> wrote:
>
> what dumb Swift feature am I overlooking now?
It’s an OptionsSet now, so you specify compound values with an array literal
form. In Swift 3, with API swiftification, it’ll be something like:
return [.portrait, .landscapeLeft]
In Swift 2.2, the names may be slightly different.
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]