• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: initWithFrame not being called on my NSImageView subclass
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >initWithFrame not being called on my NSImageView subclass (From: Shamyl Zakariya <email@hidden>)
 >Re: initWithFrame not being called on my NSImageView subclass (From: Mike Abdullah <email@hidden>)
 >Re: initWithFrame not being called on my NSImageView subclass (From: "Kyle Sluder" <email@hidden>)
 >Re: initWithFrame not being called on my NSImageView subclass (From: "Ken Ferry" <email@hidden>)
 >Re: initWithFrame not being called on my NSImageView subclass (From: "Kyle Sluder" <email@hidden>)
 >Re: initWithFrame not being called on my NSImageView subclass (From: "Ken Ferry" <email@hidden>)

  • Prev by Date: Initializing NSDecimalTabStopType returns NSRightTabStopType
  • Next by Date: Re: Initializing NSDecimalTabStopType returns NSRightTabStopType
  • Previous by thread: Re: initWithFrame not being called on my NSImageView subclass
  • Next by thread: Re: initWithFrame not being called on my NSImageView subclass
  • Index(es):
    • Date
    • Thread