Re: subclassing NSArrayController
Re: subclassing NSArrayController
- Subject: Re: subclassing NSArrayController
- From: Allan Odgaard <email@hidden>
- Date: Wed, 3 Mar 2004 18:00:35 +0100
On 3. Mar 2004, at 17:32, Stefan Fisk wrote:
ok, i read a little about it, but i still don't understand what to
override, initWithCoder: hardly seems appropriate (although it would
work). as i see it, NSArrayController should have a designated
initializer that i could piggyback on, but what?
According to the documentation it does not implement a designated
initializer, in fact neither NSArrayController nor its two superclasses
(NSObjectController and NSController) implements init: -- but
NSController implements initWithCoder:.
Not sure what it is you want to do in the init, but the IB
documentation recommends doing 'setup' in awakeFromNib, if you do not
like implementing the initWithCoder:.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.