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 (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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to