• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Init in Swift
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Init in Swift
      • From: Marco S Hyman <email@hidden>
    • Re: Init in Swift
      • From: Quincey Morris <email@hidden>
References: 
 >Init in Swift (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Init in Swift (From: Quincey Morris <email@hidden>)
 >Re: Init in Swift (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Init in Swift (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: Init in Swift
  • Next by Date: Re: Init in Swift
  • Previous by thread: Re: Init in Swift
  • Next by thread: Re: Init in Swift
  • Index(es):
    • Date
    • Thread