• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Suggestions for handling old document files with file paths in a sandbox environment
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Suggestions for handling old document files with file paths in a sandbox environment


  • Subject: Re: Suggestions for handling old document files with file paths in a sandbox environment
  • From: Charles Srstka <email@hidden>
  • Date: Wed, 03 Oct 2012 13:06:04 -0500

On Oct 3, 2012, at 12:18 PM, Sean McBride <email@hidden> 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 (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

  • Follow-Ups:
    • Re: Suggestions for handling old document files with file paths in a sandbox environment
      • From: Quincey Morris <email@hidden>
References: 
 >Suggestions for handling old document files with file paths in a sandbox environment (From: Marshall Houskeeper <email@hidden>)
 >Re: Suggestions for handling old document files with file paths in a sandbox environment (From: Sean McBride <email@hidden>)

  • Prev by Date: Re: Suggestions for handling old document files with file paths in a sandbox environment
  • Next by Date: Re: Suggestions for handling old document files with file paths in a sandbox environment
  • Previous by thread: Re: Suggestions for handling old document files with file paths in a sandbox environment
  • Next by thread: Re: Suggestions for handling old document files with file paths in a sandbox environment
  • Index(es):
    • Date
    • Thread