Have a look into NSNotificationCenter. That should do the trick.
cheers
--
Torsten
On 09.03.2008, at 01:09, Scott.D.R wrote:
Greetings, everyone.
I create a NSWindowController to manage my application preferences.
I want the application to respond to the option change when occurred.
The problem is: my AppController which handle the change is placed
in the MainMenu.Nib, my WindowController load another Nib file
named "Preferences.Nib". Because it seems impossible to post a
notification from an object in a Nib file to another object in
another Nib file.
I am wondering how to accomplish these:
when users adjust the controls in the preference window (it is
managed by a window controller in NIB file #B), the AppController
in NIB file #A can respond to it immediately.
Thank you very much for any help.
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/tcurdt%40vafer.org
This email sent to [EMAIL PROTECTED]
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]