Calling another window controller
Calling another window controller
- Subject: Calling another window controller
- From: Todd Freese <email@hidden>
- Date: Thu, 29 Jan 2004 14:19:56 -0600
I have to windows, each with their own controller. They where created in two
different NIBs using IB.
Controller_A is the main controller for the application and Controller_B is
for a preference window.
I have imported Controller_B9s .h file into Controller_A. Now it seems that
I should be able to call a method in Controller_B from Controller_A with a
line like 3[Controller_B openPrefWindow:self]2. However this does not work.
I get a compiler warning stating that 3Controller_B may not respond to
+openPrefWindow.2 And of course, it doesn9t work. The Controller_B method is
not getting called.
What am I missing here?
Thanks in advance...
Todd Freese
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.