On Jun 23, 2014, at 20:16 , Graham Cox <graham....@bigpond.com> wrote:

> And the example code is Obj-C. Why would Swift come into it?

Sorry, I wasn’t carping at you. It just occurred to me that “no one cares” in 
the pure Obj-C case — we know that invoking ‘super initWithWindowNibName:’ is 
safe, since we’ve all done it for years.

Hence my speculation that it was Swift’s greater formalism that got Sean 
thinking about this. Speculation only. Anyway, I believe Roland’s answer is 
correct: Swift has a loophole that lets the NSWindowController init pattern 
work there too.




_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to