Re: NSAlert query
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>) |