NSWindowContoller communication issues
NSWindowContoller communication issues
- Subject: NSWindowContoller communication issues
- From: James Gifford <email@hidden>
- Date: Tue, 13 Sep 2005 10:59:31 -0700
Hello all,
I have what is probably a rather simple problem, but is something I
haven't dealt with yet.
Here is the situation: I have a pretty typical MVC setup with my
main controller "AppController" connecting to my MainMenu.nib. I've
also got a secondary panel in "NewRecordPanel.nib" controlled by
"NewRecordController" which is opened and closed through
AppController. In NewRecordController there is a NSComboBox object,
and I would like to use NewRecordController as the datasource for
it. The thing is, I am maintaining the data I would like to use to
populate the NSComboBox in AppController.
In other words, in AppController there is an NSArray object which
contains the data I would like to use in the NSComboBox which is in
NewRecordController.
So my question is this: how do I use this data from AppController in
NewRecordController? Is there a way to establish communication
between the two controllers? I am not currently using bindings, so a
way to do this without bindings would be most helpful. However, I'll
take all the help I can get in this matter.
Thanks for your help.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden