Re: for case and if case (Swift 2)
Re: for case and if case (Swift 2)
- Subject: Re: for case and if case (Swift 2)
- From: Roland King <email@hidden>
- Date: Fri, 12 Jun 2015 16:15:03 +0800
> On 12 Jun 2015, at 15:35, Quincey Morris <email@hidden> wrote:
>
> On Jun 11, 2015, at 17:49 , Roland King <email@hidden <mailto:email@hidden>> wrote:
>>
>> for case test.two( let a ) in x
>
> I got the answer in the developer forums. You might need to sit down before reading further. The correct syntax for this is:
>
>> for case let test.two (a) in x
>
>
> <laughs hysterically>
>
<sighs resignedly>
So you mean the slide lied. Tsk tsk tsk. Well you know what they say about Swift, if you don’t like the syntax today, wait until tomorrow because it’ll change again anyway. <tongue firmly in cheek>
_______________________________________________
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