Re: NSUserDefaults not sticking
Re: NSUserDefaults not sticking
- Subject: Re: NSUserDefaults not sticking
- From: Charles Srstka <email@hidden>
- Date: Wed, 10 Sep 2014 21:14:28 -0500
On Sep 10, 2014, at 7:41 PM, Kyle Sluder <email@hidden> wrote:
> On Wed, Sep 10, 2014, at 07:32 PM, Rick C. wrote:
>> And about not relying on the .plist if we don’t rely upon it how do we
>> write our prefs? I understand I should not manipulate it directly, but I
>> am calling everything via NSUserDefaults…
>
> Continue using NSUserDefaults for all interaction with the preferences
> system. That's what the `defaults` command uses too.
If that's true, then why does the 'defaults' program work for sandboxed apps, while NSUserDefaults does not?
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