awakeFromNib multiple objects - all connected?
awakeFromNib multiple objects - all connected?
- Subject: awakeFromNib multiple objects - all connected?
- From: Trygve Inda <email@hidden>
- Date: Fri, 04 Jul 2014 20:18:03 -0700
- Thread-topic: awakeFromNib multiple objects - all connected?
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 (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