Re: When is the - (id)init method not called for an Objective-C class?
Re: When is the - (id)init method not called for an Objective-C class?
- Subject: Re: When is the - (id)init method not called for an Objective-C class?
- From: Jean-Daniel Dupas <email@hidden>
- Date: Tue, 30 Dec 2008 09:38:53 +0100
Le 30 déc. 08 à 09:29, Andrew Farmer a écrit :
On 30 Dec 08, at 00:24, Michael A. Crawford wrote:
I have an init method for an NSView sub-class that is never
called. Not expert enough with Objective-C to understand why?
Anyone have a clue?
The designated initializer for NSView is initWithFrame:, IIRC.
In fact, there is not necessarily only one designated initializer.
IIRC, -initWithFrame: and -initWithCoder: are both designated
initializer for NSView.
_______________________________________________
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