On Mon, Aug 27, 2012, at 10:40 AM, Kirk wrote:
> There isn't a run loop running yet at applicationDidFinishLaunching:.
> 
> Defer your code with performSelector: afterDelay:0

While this is true, the very next thing after
-applicationDidFinishLaunching: will be NSApplication calling
[[NSRunLoop currentRunLoop] run]. So Gerriet's original code should work
without manually calling -run, and -performSelector:afterDelay: should
have no effect.

--Kyle Sluder
_______________________________________________

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

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

Reply via email to