Re: Designated Initializer
Re: Designated Initializer
- Subject: Re: Designated Initializer
- From: Richard Somers <email@hidden>
- Date: Sat, 30 Oct 2010 14:32:57 -0600
Thanks for the insight.
If calling any of super's initializers will work from the designated
initializer, why then does Apple specifically say the designated
initializer "should begin by sending a message to super to invoke the
designated initializer of its superclass"?
There must be a subtle issue here.
--Richard Somers
On Oct 30, 2010, at 1:12 PM, Dave Carrigan wrote:
So just because a designated initializer didn't call super's
designated initializer, it doesn't mean that super's designated
initialer was not invoked; it was.
_______________________________________________
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