Re: Suggestions for handling old document files with file paths in a sandbox environment
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:52:05 -0500
On Oct 3, 2012, at 1:38 PM, Quincey Morris <email@hidden> wrote:
> On Oct 3, 2012, at 11:06 , Charles Srstka <email@hidden> wrote:
>
>> is there a way to just ask for permission to open a specific file and have a "Cancel or allow" box come up
>
> You can use the 'NSOpenSavePanelDelegate' protocol to validate whatever the user chooses, or you can just validate the returned URL when the open panel is completed. There's no way to tell the panel to freeze itself on a specific file.
That sounds like a recipe for some really confusing UI...
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