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

Re: NSUserDefaults, setPersistentDomain & NSUserDefaultsDidChangeNotification


  • Subject: Re: NSUserDefaults, setPersistentDomain & NSUserDefaultsDidChangeNotification
  • From: petite_abeille <email@hidden>
  • Date: Mon, 29 Sep 2003 20:45:56 +0200

Hi Dave,

On Monday, Sep 29, 2003, at 19:14 Europe/Amsterdam, Dave Thorup wrote:

Yes, you'll need to set up a distributed notification center or some other
kind of inter-application communication. The
NSUserDefaultsDidChangeNotification is only sent to an application when that
application's defaults have changed (and it's probably not sent when the
defaults are changed externally).

Ah...

Applications don't receive notifications
for when the defaults have changed in other applications.

I see...


it sounds like you're trying to get the System Preferences' Login Items pane
to re-load its defaults.

Yes.

I don't know of any way to tell it to do that. If
you control all of the applications that you want to synchronize then you
could do it.

Unfortunately not. I "control" only one part of the equation.

But if you want other people's applications to be synchronized
then I think you're out of luck.

Bummer :(


PS Try out Defaults Manager for a nifty tool when working with defaults
(www.kuwan.net/defaultsmanager).

Thanks. Looks nice. But in this specific case, I need to be able to modify the defaults programatically. Which works fine. Now if I could synchronize other applications... Oh, well...

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:
    • Problems printing with WebKit
      • From: John Timmer <email@hidden>
References: 
 >Re: NSUserDefaults, setPersistentDomain & NSUserDefaultsDidChangeNotification (From: Dave Thorup <email@hidden>)

  • Prev by Date: Re: Little question on kCFCoreFoundationVersionNumber
  • Next by Date: Re: NSBGOnly, NSUIElement & Co.?
  • Previous by thread: Re: NSUserDefaults, setPersistentDomain & NSUserDefaultsDidChangeNotification
  • Next by thread: Problems printing with WebKit
  • Index(es):
    • Date
    • Thread