Re: UIDocument openWithCompletionHandler: called on what thread?
Re: UIDocument openWithCompletionHandler: called on what thread?
- Subject: Re: UIDocument openWithCompletionHandler: called on what thread?
- From: Roland King <email@hidden>
- Date: Tue, 04 Sep 2012 09:10:38 +0800
On 4 Sep, 2012, at 12:09 AM, Luke Hiesterman <email@hidden> wrote:
> The documentation isn't entirely accurate. The completion handler will only be executed on the main queue if you call the method on the main queue. In general, the completion handler is executed on the same queue that the constituent method was called on.
>
> Luke
>
Ah - thanks - I will file a docs bug on that, in this case, that's exactly what I am doing, the entire thing is a background operation but I was relying on the documented behaviour to update the UI without pinging back to the main thread.
_______________________________________________
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