Re: Preferences caching?
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