It's a live video app, where rendering happening on a CVDisplayLink thread, so 
the app still running and do its job while an OpenPanel (or SavePanel) 
displaying. I just need to block the UI to make sure the users can't interact 
the app while an open panel displaying. 

On Dec 17, 2012, at 6:46 AM, Kyle Sluder <k...@ksluder.com> wrote:

> On Sun, Dec 16, 2012, at 09:43 PM, Tamas Nagy wrote:
>> Thanks Kyle. I know about beginWithCompletionHandler: , but I really need
>> a modal window at that point my application opens the open panel.
> 
> I have to ask, why?
> 
> If you want to block interaction with a document, you can use
> -beginSheetModalForWindow:completionHandler:.
> 
> What circumstances could arise that would require you to block access to
> the entire app?
> 
> --Kyle Sluder


_______________________________________________

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