• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Post notification among several nib files?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Post notification among several nib files?


  • Subject: Post notification among several nib files?
  • From: "Scott.D.R" <email@hidden>
  • Date: Sun, 9 Mar 2008 00:09:44 +0000

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


  • Follow-Ups:
    • Re: Post notification among several nib files?
      • From: "Kyle Sluder" <email@hidden>
    • Re: Post notification among several nib files?
      • From: Torsten Curdt <email@hidden>
  • Prev by Date: Re: [SOLVED] Re: Getting the "iCal" window style?
  • Next by Date: Re: IB3 Application vs File Owner
  • Previous by thread: Re: IB3 Application vs File Owner
  • Next by thread: Re: Post notification among several nib files?
  • Index(es):
    • Date
    • Thread