Re: NSWindowController and designated initializer rules
Re: NSWindowController and designated initializer rules
- Subject: Re: NSWindowController and designated initializer rules
- From: Greg Parker <email@hidden>
- Date: Mon, 23 Jun 2014 21:52:10 -0700
On Jun 23, 2014, at 8:16 PM, Graham Cox <email@hidden> wrote:
> On 24 Jun 2014, at 11:14 am, Quincey Morris <email@hidden> wrote:
>> Actually, I understood the thrust of Sean’s question as being that NSWindowController’s initializers don’t follow Swift rules.
>
> Well, Swift wasn't mentioned at all in the OP, but this was:
>
>> The Obj-C designated initializer rules say
>
> And the example code is Obj-C. Why would Swift come into it?
Because Swift is codifying and enforcing Objective-C's designated initializer pattern. Similar enforcement in Objective-C will take longer to adopt.
--
Greg Parker email@hidden Runtime Wrangler
_______________________________________________
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