I have a nib that has several custom objects instantiated in it:

NIB
-ObjectA // contains outlets ABC
-ObjectB // contains outlets DEF


When object A receives awakeFromNib, I know that outlets A, B and C are
hooked up, but it is also safe to call a method in ObjectB that requires
ObjectB to have it's D, E & F outlets already hooked up?


ObjectA has an outlet to ObjectB so calliong a method in ObjectB is fine,
but ObjectB may not have received its awakeFromNib yet.

So the bottom line is:

When an object in a nib receives awakeFromNib are all the outlets throughout
the entire nib hooked up, or only those outlets in the object that is
receiving awakeFromNib?

Thanks,

Trygve



_______________________________________________

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

This email sent to arch...@mail-archive.com

Reply via email to