• 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: Charles Srstka <email@hidden>
  • Date: Tue, 10 Dec 2013 12:38:56 -0600

On Dec 10, 2013, at 11:08 AM, Kyle Sluder <email@hidden> wrote:

>> On Dec 10, 2013, at 7:46 AM, Jakob Egger <email@hidden> wrote:
>
>>
>> Or does OS X Mavericks recreate deleted preference files in some cases?
>
> Bingo. You are now caught up with the original post in this thread.
>
> The plist files are and always have been an implementation detail. The only supported interface to preferences has always been through CFPreferences/NSUserDefaults, whether via code or the defaults command line tool.

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?

Charles

_______________________________________________

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: Kyle Sluder <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>)

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