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 (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 arch...@mail-archive.com

Reply via email to