Re: reading preferences from com.apple.mail under 10.8
Re: reading preferences from com.apple.mail under 10.8
- Subject: Re: reading preferences from com.apple.mail under 10.8
- From: Erik Stainsby <email@hidden>
- Date: Thu, 02 Aug 2012 13:32:55 -0700
Would it not be more in keeping with sandbox culture to ask the user for permission to read the Mail.app preferences at run time? Thereby obviating the need to maintain a supported under the hood path to the same info. It could be a single request made once during first run.
~ Erik
Sent from my iPad
On 2012-08-02, at 12:17 PM, Jens Alfke <email@hidden> wrote:
>
> On Aug 2, 2012, at 5:19 AM, Rob McBroom <email@hidden> wrote:
>
>> And I question whether Scripting Bridge is “more supported” than `NSUserDefaults`. :-)
>
> Those are both supported APIs, but that's irrelevant. The point is that an application's scripting API (as declared in its dictionary) is supported, whereas apps' user defaults keys are for internal use only.
>
> (I do know of a couple of user-defaults domains that have well-known supported keys in them — such as the ones that give the locations of the iLife media index files — but those are separate domains containing only those settings, not the internal domains of the iLife apps.)
>
> —Jens
> _______________________________________________
>
> 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