Re: NSDocument's Open File Panel unresponsive when opening large file from disc
Re: NSDocument's Open File Panel unresponsive when opening large file from disc
- Subject: Re: NSDocument's Open File Panel unresponsive when opening large file from disc
- From: Quincey Morris <email@hidden>
- Date: Tue, 29 Jan 2013 09:36:29 -0800
On Jan 29, 2013, at 08:18 , Gilles Celli <email@hidden> wrote:
> Simply put, the Open Panel should be closed, but it stays open until the data file has been processed and the data displayed as a graph.
If you're using one of the 'begin…completionHandler:' methods to show the panel, you can invoke '[openPanel orderOut: nil]' in the completion handler to dismiss the panel *before* you start your conversions. (Don't use 'close' instead -- it's not sandbox compatible.)
In the case where you're showing another sheet during later processing (e.g. a progress sheet or an alert sheet), you *must* order out the open panel before displaying the second sheet.
_______________________________________________
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