• 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: NSOpenPanel runModal on a dispatch
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOpenPanel runModal on a dispatch


  • Subject: Re: NSOpenPanel runModal on a dispatch
  • From: Tamas Nagy <email@hidden>
  • Date: Mon, 17 Dec 2012 06:58:33 +0100

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 <email@hidden> 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 (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: NSOpenPanel runModal on a dispatch
      • From: Tom Davie <email@hidden>
References: 
 >NSOpenPanel runModal on a dispatch (From: Tamas Nagy <email@hidden>)
 >Re: NSOpenPanel runModal on a dispatch (From: Mike Abdullah <email@hidden>)
 >Re: NSOpenPanel runModal on a dispatch (From: Tamas Nagy <email@hidden>)
 >Re: NSOpenPanel runModal on a dispatch (From: Mike Abdullah <email@hidden>)
 >Re: NSOpenPanel runModal on a dispatch (From: Kyle Sluder <email@hidden>)
 >Re: NSOpenPanel runModal on a dispatch (From: Tamas Nagy <email@hidden>)
 >Re: NSOpenPanel runModal on a dispatch (From: Kyle Sluder <email@hidden>)
 >Re: NSOpenPanel runModal on a dispatch (From: Tamas Nagy <email@hidden>)
 >Re: NSOpenPanel runModal on a dispatch (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: NSOpenPanel runModal on a dispatch
  • Next by Date: Re: NSOpenPanel runModal on a dispatch
  • Previous by thread: Re: NSOpenPanel runModal on a dispatch
  • Next by thread: Re: NSOpenPanel runModal on a dispatch
  • Index(es):
    • Date
    • Thread