Observed behaviour - Is this expected
Observed behaviour - Is this expected
- Subject: Observed behaviour - Is this expected
- From: David Blanton <email@hidden>
- Date: Mon, 25 Jan 2010 20:43:29 -0700
Class A is a subclass of NSView
Class B is a subclass of Class A
Class A and Class B are in a NIB.
Class A as an Object - the blue cube
Class B as a view in a window.
When the program runs:
Class A's init method is called
Class B's awakeFromNib is called
Class A's awakeFromNib is called
NOTE that Class B's init method is not called
My problem is I want to reference outlets defined in Class A in Class
B awakeFromNib but they are nil at Class B awakeFromNib time.
I was under the impression that at awakeFromNib time all outlets in
all NIB objects are wired up.
So what do I not understand?
-db
_______________________________________________
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