• 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: NSAlert query
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSAlert query


  • Subject: Re: NSAlert query
  • From: Graham Cox <email@hidden>
  • Date: Mon, 25 Jan 2010 18:16:07 +1100

On 25/01/2010, at 3:27 PM, Poonam Virupaxi Shigihalli wrote:

> When alert messages are displayed using runModal, it blocks the thread until the user clicks on the button. Is there anyway to avoid blocking of the thread when alert is displayed?


NSAlert does not block the thread, it runs modally, which is an entirely different thing. If you are calling NSAlert from a secondary thread, that's not permitted - all UI must run on the main thread.

--Graham



_______________________________________________

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

References: 
 >NSAlert query (From: "Poonam Virupaxi Shigihalli" <email@hidden>)

  • Prev by Date: Re: Allow only root/admin users to execute the cocoa app
  • Next by Date: Application is not available in the launched applications list.
  • Previous by thread: NSAlert query
  • Next by thread: Re: NSAlert query
  • Index(es):
    • Date
    • Thread