Re: Uninitialized rectangle??
Re: Uninitialized rectangle??
- Subject: Re: Uninitialized rectangle??
- From: Kyle Sluder <email@hidden>
- Date: Thu, 4 Mar 2010 09:35:25 -0800
On Thu, Mar 4, 2010 at 9:05 AM, fabian <email@hidden> 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 (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