Re: NSOpenPanel runModal on a dispatch
Re: NSOpenPanel runModal on a dispatch
- Subject: Re: NSOpenPanel runModal on a dispatch
- From: Kyle Sluder <email@hidden>
- Date: Sun, 16 Dec 2012 12:39:40 -0800
On Sun, Dec 16, 2012, at 12:04 PM, Tamas Nagy wrote:
> Thanks for the approach Kyle, but dispatch_async performs asynchronously,
> so it should not block the main thread. I fallback to
> performSelectorOnMainThread: method in my app, but the dispatch way is a
> bit straightforward in my opinion. I'll fill a rdar on this.
By the way, I've just filed a radar asking for -[NSOpenPanel runModal]
to be deprecated: rdar://problem/12889956
-beginWithCompletionHandler: is a far better user experience, and it's
immune to this problem. Use that.
--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