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 <j...@mooseyard.com> wrote:

> 
> On Aug 2, 2012, at 5:19 AM, Rob McBroom <mailingli...@skurfer.com> 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 (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/erik.stainsby%40roaringsky.ca
> 
> This email sent to erik.stain...@roaringsky.ca

_______________________________________________

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

Reply via email to