• 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 not sticking
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSUserDefaults not sticking


  • Subject: Re: NSUserDefaults not sticking
  • From: "Rick C." <email@hidden>
  • Date: Thu, 11 Sep 2014 12:07:09 +0800

This is all very interesting and shows that there are issues out there, but back to my original issue if I’m writing and reading via NSUserDefaults and its not returning the expected values what else could be the trouble?

rc



On Sep 11, 2014, at 11:59 AM, Charles Srstka <email@hidden> wrote:

> On Sep 10, 2014, at 10:50 PM, Graham Cox <email@hidden> wrote:
>
>> On 11 Sep 2014, at 1:19 pm, Charles Srstka <email@hidden> wrote:
>>
>>> NSDictionary *domain = [def persistentDomainForName:@"com.apple.TextEdit"];
>>
>>
>> The documentation states that this is not supported under sandboxing.
>>
>> When you say "does not ... work", you really need to make clear what you mean.
>
> Fair point; sorry about that. Was in a hurry.
>
> The basic point is that NSUserDefaults and /usr/bin/defaults behave very differently when trying to access the preferences of a sandboxed application, suggesting that the latter is not a simple wrapper around the former.
>
> 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


_______________________________________________

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: NSUserDefaults not sticking
      • From: Bavarious <email@hidden>
References: 
 >NSUserDefaults not sticking (From: "Rick C." <email@hidden>)
 >Re: NSUserDefaults not sticking (From: Graham Cox <email@hidden>)
 >Re: NSUserDefaults not sticking (From: "Rick C." <email@hidden>)
 >Re: NSUserDefaults not sticking (From: Graham Cox <email@hidden>)
 >Re: NSUserDefaults not sticking (From: "Rick C." <email@hidden>)
 >Re: NSUserDefaults not sticking (From: Kyle Sluder <email@hidden>)
 >Re: NSUserDefaults not sticking (From: Charles Srstka <email@hidden>)
 >Re: NSUserDefaults not sticking (From: Graham Cox <email@hidden>)
 >Re: NSUserDefaults not sticking (From: Charles Srstka <email@hidden>)
 >Re: NSUserDefaults not sticking (From: Graham Cox <email@hidden>)
 >Re: NSUserDefaults not sticking (From: Charles Srstka <email@hidden>)

  • Prev by Date: Re: NSUserDefaults not sticking
  • Next by Date: Re: NSUserDefaults not sticking
  • Previous by thread: Re: NSUserDefaults not sticking
  • Next by thread: Re: NSUserDefaults not sticking
  • Index(es):
    • Date
    • Thread