Hi,
I have two objects that I use two control the interfaces of two different windows in my application. Since ApplicationMagic takes care of creating instances of these controllers at start up, I am lost on how to refer to them. If I want to send one a message, how do I know what the name of the instance is?
Thanks much,
Whit
Controllers:
mainController : NSObject
secondController : NSObject
secondController contains a method "-(void) receive: (NSString *)pItem;"
I want to call the instance of secondController that is created at startup from the mainController and send it an item "[nameIDontKnow receive
"Hi"];"
I have two objects that I use two control the interfaces of two different windows in my application. Since ApplicationMagic takes care of creating instances of these controllers at start up, I am lost on how to refer to them. If I want to send one a message, how do I know what the name of the instance is?
Thanks much,
Whit
Controllers:
mainController : NSObject
secondController : NSObject
secondController contains a method "-(void) receive: (NSString *)pItem;"
I want to call the instance of secondController that is created at startup from the mainController and send it an item "[nameIDontKnow receive