FROM : I. Savant
DATE : Sat Jan 19 19:18:33 2008
> 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.
DATE : Sat Jan 19 19:18:33 2008
> 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.
| Related mails | Author | Date |
|---|---|---|
| Daniel Child | Jan 19, 19:15 | |
| I. Savant | Jan 19, 19:18 |






Cocoa mail archive

