Re: Init in Swift
Re: Init in Swift
- Subject: Re: Init in Swift
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Wed, 07 Sep 2016 11:31:46 +0700
> On 7 Sep 2016, at 10:49, Quincey Morris <email@hidden> wrote:
>
> On Sep 6, 2016, at 17:17 , Gerriet M. Denkmann <email@hidden> wrote:
>>
>> But what to do about localConstantDependingOnSuper?
[…]
> Anyway, this particular example is fairly easily solved by declaring “localConstantDependingOnSuper” as ‘private(set)’.
My Swift book (2.2) has no mention of “private” (Swift 3 beta has).
But even assuming I had Swift 3, I do not quite understand how this should be done (I may be a bit dense).
Could you please elaborate?
Kind regards,
Gerriet.
_______________________________________________
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