On Sep 10, 2014, at 10:50 PM, Graham Cox <graham....@bigpond.com> wrote:
> On 11 Sep 2014, at 1:19 pm, Charles Srstka <cocoa...@charlessoft.com> 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 (Cocoa-dev@lists.apple.com) 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 arch...@mail-archive.com