• 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: Preferences caching?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preferences caching?


  • Subject: Re: Preferences caching?
  • From: Kyle Sluder <email@hidden>
  • Date: Tue, 10 Dec 2013 10:43:51 -0800

On Dec 10, 2013, at 10:38 AM, Charles Srstka <email@hidden> wrote:
>
> How about sandboxed applications? Their preference files are opaque to NSUserDefaults, and only sometimes visible to /usr/bin/defaults. How should one delete a corrupted plist file in a sandbox?

Not sure what you mean by "opaque." If you mean that NSUserDefaults can't read from another app's sandbox, then that is obviously by design.

As far as defaults(1), that should always be able to find a sandboxed app's preferences. If it can't, file a bug.

One workaround might be to killall cfprefsd, nuke the plist, and killall cfprefsd again.

--Kyle Sluder
_______________________________________________

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: Preferences caching?
      • From: Charles Srstka <email@hidden>
References: 
 >Re: Preferences caching? (From: Jens Alfke <email@hidden>)
 >Re: Preferences caching? (From: Jakob Egger <email@hidden>)
 >Re: Preferences caching? (From: Kyle Sluder <email@hidden>)
 >Re: Preferences caching? (From: Charles Srstka <email@hidden>)

  • Prev by Date: Re: Threaded drawing
  • Next by Date: Re: Preferences caching?
  • Previous by thread: Re: Preferences caching?
  • Next by thread: Re: Preferences caching?
  • Index(es):
    • Date
    • Thread