Re: init method of NSObjectController subclass
Re: init method of NSObjectController subclass
- Subject: Re: init method of NSObjectController subclass
- From: Nick Zitzmann <email@hidden>
- Date: Wed, 11 Apr 2007 15:16:16 -0600
On Apr 11, 2007, at 2:04 PM, Timothy Collett wrote:
I am attempting to do some initialization on a subclass of
NSObjectController, but it appears that the init method is never
being called (I have also tried the initWithContent method, to no
avail).
Now, it may be that I am going about this entirely the wrong way (I
am quite new to Cocoa, and still very much feeling my way around),
but I had thought that simply overriding/implementing the init
method should let me prepare everything for the running of the
application...
If the object is being initialized from a nib, then -initWithCoder:
would be called, not -init or -initWithContent:.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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