On Thu, Mar 4, 2010 at 9:05 AM, fabian <cocoadevl...@gmail.com> wrote:
> It's in -applicationDidFinishLaunching. Which works great on all systems (as
> far as I know), except for on 10.5.8 where NSStatusBar is still nil at this
> point. That's what I'm trying to find a work-around for.

>From the -[NSApplication finishLaunching] docs: "The run method
invokes this method before it starts the event loop."

Doing AppKit stuff without an event loop always makes me nervous.
Perhaps AppKit is doing some delay-perform stuff, or is waiting on a
runloop input source from the menu manager or window server, or
something else.

You're right, this sounds like something that should Just Work.

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

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

Reply via email to