Re: What classes have -init?
Re: What classes have -init?
- Subject: Re: What classes have -init?
- From: mmalc Crawford <email@hidden>
- Date: Thu, 11 Feb 2010 12:18:55 -0800
On Feb 11, 2010, at 12:08 pm, Gordon Apple wrote:
> My point was that if you could count on "init" being called internally and
> all you needed was to initialize some ivars, you could override "init" and
> not have to override the (sometimes more involved) designated initializer
> and possibly other initializers. You could still use the (superclass)
> designated initializer or a class-level instantiator without overriding it.
>
Please read "The Designated Initializer" in <http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/ObjectiveC/Articles/ocAllocInit.html>, in particular the section starting "Figure 3-3 Covering the Designated Initializer".
mmalc
_______________________________________________
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