Re: handleGetURLEvent getting called after applicationDidFinishLaunching
Re: handleGetURLEvent getting called after applicationDidFinishLaunching
- Subject: Re: handleGetURLEvent getting called after applicationDidFinishLaunching
- From: "Bradley O'Hearne" <email@hidden>
- Date: Mon, 26 Aug 2013 12:04:11 -0700
On Aug 26, 2013, at 11:11 AM, Ken Thomases <email@hidden> wrote:
>
> No. Both methods are called on the main thread, so they can't run simultaneously.
Ken,
Thanks for the clarification. This actually raises a related point, one that I've repeatedly found myself asking in various situations (such as this one), in both iOS and Mac dev. Is there some global reference or quick way of determining (not in code, but in doc somewhere) whether a callback is called or not on the main thread? I have found myself continually having to inquire about that information when a callback ends up affecting the UI (which many do), to determine whether I've got to wrap UI component-affecting statements in a selector performed on the main thread.
Thanks,
Brad
_______________________________________________
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