Re: Post notification among several nib files?
Re: Post notification among several nib files?
- Subject: Re: Post notification among several nib files?
- From: Torsten Curdt <email@hidden>
- Date: Sat, 8 Mar 2008 17:35:22 +0100
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@hidden)
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:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden