On Oct 3, 2012, at 12:18 PM, Sean McBride <s...@rogue-research.com> wrote:

> On Wed, 3 Oct 2012 11:15:48 -0400, Marshall Houskeeper said:
> 
>> Our document file format currently stores file paths and file alias to
>> external files. We can potentially have several thousand references to
>> external files stored in a document. When we move to a sandbox
>> environment, we will store Security-Scoped Bookmarks.  
>> 
>> What is the suggested method to handling old documents with with
>> external file references in a sandbox environment?
> 
> I'm afraid the only choice seems to be: display an NSOpenPanel for each file.

This may be a dumb question, as I haven't worked with the sandbox much and am 
somewhat ignorant of it, but is there a way to just ask for permission to open 
a specific file and have a "Cancel or allow" box come up, or is the only option 
to run a standard NSOpenPanel and run the risk that the user might change the 
file that's selected before dismissing it? If so, how does one do that? I don't 
see anything in the NSOpenPanel docs.

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

Reply via email to