Re: initWithFrame not being called on my NSImageView subclass
Re: initWithFrame not being called on my NSImageView subclass
- Subject: Re: initWithFrame not being called on my NSImageView subclass
- From: Quincey Morris <email@hidden>
- Date: Thu, 21 Feb 2008 14:32:27 -0800
- Resent-date: Thu, 21 Feb 2008 14:33:07 -0800
- Resent-from: Quincey Morris <email@hidden>
- Resent-message-id: <email@hidden>
- Resent-to: email@hidden
On Feb 21, 2008, at 14:06, Ken Ferry wrote:
Hm, sorry if the docs confused you.. if you can point at the docs that
made you think this, it'd be great to have a bug.
There's:
http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaViewsGuide/SubclassingNSView/chapter_6_section_2.html#/
/apple_ref/doc/uid/TP40002978-CH7-DontLinkElementID_12
It doesn't actually say that unarchived nib views *don't* go through
initWithCoder, but it doesn't promise that either.
Incidentally, that document was written pre-Leopard, and in IB 3
there's a third case. If you have a IB plugin that creates the view,
then the subclass initWithFrame *is* going to get called (from within
IB). At least I think so.
_______________________________________________
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