Re: identifying the main app controller
Re: identifying the main app controller
- Subject: Re: identifying the main app controller
- From: "I. Savant" <email@hidden>
- Date: Sat, 19 Jan 2008 13:18:33 -0500
I would think there must be an equally easy way to access the main
app controller.
Are you referring to the application's delegate?
[NSApp delegate] ...
Otherwise, you can create an outlet to it like anything else. In
your second controller (or any controllers), create an outlet:
IBOutlet id appControllerOrWhateverOtherController;
... and connect it. This is all detailed in the introductory
documentation.
--
I.S.
_______________________________________________
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