That makes sense, thank you.

[EMAIL PROTECTED]
"Such a theory has to be bizarre and elaborate, as well as being stupid"
        -- Jim Loy, regarding a hollow earth


On Feb 21, 2008, at 2:00 PM, Kyle Sluder wrote:

On Thu, Feb 21, 2008 at 1:36 PM, Shamyl Zakariya <[EMAIL PROTECTED]> wrote:
Anybody know why it wouldn't be called? It doesn't appear to be
misspelled.

Re-read the documentation here:
http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaViewsGuide/SubclassingNSView/chapter_6_section_2.html

Short version: subclasses of views that you've put in your nib have
already been instantiated when they were freeze-dried into the nib.
It would be incorrect to call -initWithFrame: again.  That's why you
have -awakeFromNib.

--Kyle Sluder

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to