Skip navigation.
 
mlRe: identifying the main app controller
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.

Related mailsAuthorDate
mlidentifying the main app controller Daniel Child Jan 19, 19:15
mlRe: identifying the main app controller I. Savant Jan 19, 19:18