Re: specifying UIInterfaceOrientationMask
Re: specifying UIInterfaceOrientationMask
- Subject: Re: specifying UIInterfaceOrientationMask
- From: Quincey Morris <email@hidden>
- Date: Tue, 12 Jul 2016 12:11:30 -0700
- Feedback-id: 167118m:167118agrif8a:167118s1sGDWi1o8:SMTPCORP
On Jul 12, 2016, at 11:25 , William Squires <email@hidden> 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@hidden)
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:
This email sent to email@hidden