On 17/11/2009, at 6:21 AM, Harry Plate wrote: > But, what I am having trouble with is communicating with "File's Owner". > When I instantiate the NIB, I pass my class as owner - then when the > controller is called via -awakeFromNib, I need to communicate with that > class to get some additional information. > > How is that done?
You pass your class (instance) as owner. Therefore you have it. You don't need to get it again from the nib, it's the same object that you passed in the first place. By the way, passing another object as File's Owner is slightly unusual - normally that would be 'self', in that the controller responsible for the nib is usually its owner. --Graham_______________________________________________ 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