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 protected]> wrote:

> On Sep 10, 2014, at 10:50 PM, Graham Cox <[email protected]> wrote:
> 
>> On 11 Sep 2014, at 1:19 pm, Charles Srstka <[email protected]> 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 protected])
> 
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/rickcorteza%40gmail.com
> 
> This email sent to [email protected]


_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to