• 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
NSUserDefaults, setPersistentDomain & NSUserDefaultsDidChangeNotification
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSUserDefaults, setPersistentDomain & NSUserDefaultsDidChangeNotification


  • Subject: NSUserDefaults, setPersistentDomain & NSUserDefaultsDidChangeNotification
  • From: petite_abeille <email@hidden>
  • Date: Mon, 29 Sep 2003 10:10:32 +0200

Hello,

I'm trying to synchronize NSUserDefaults changes across applications and I'm a little bit at lost on how to make it happen...

I have a little utility which add itself to loginwindow's AutoLaunchedApplicationDictionary... which works very nicely... but... how do I propagate NSUserDefaultsDidChangeNotification to all interested party? For instance, the System Preferences Login Items pane is not properly update if I apply my changes while it's open... the changes do stick... but I need to reload Login Items for this pane to reflect the changes...

Any idea? Should I forward NSUserDefaultsDidChangeNotification to the local NSDistributedNotificationCenter? Something else altogether?

Thanks.

Cheers,

PA.
_______________________________________________
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.

  • Follow-Ups:
    • Re: NSUserDefaults, setPersistentDomain & NSUserDefaultsDidChangeNotification
      • From: Dave Thorup <email@hidden>
  • Prev by Date: Re: Best way to implement NSProgressIndicator
  • Next by Date: NSStatusItem vs NSMenuExtra?
  • Previous by thread: Re: Chicago Meeting Tuesday September 30th
  • Next by thread: Re: NSUserDefaults, setPersistentDomain & NSUserDefaultsDidChangeNotification
  • Index(es):
    • Date
    • Thread