Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cannot get toolbar to appear in window




On Apr 26, 2007, at 4:47 PM, Timothy Mowlem wrote:

I was aware of the concept of main and key windows. My thinking was that since there would only be a single window in my case (the window loaded via the main nib) that using [NSApp mainWindow] should always return the one window.

That may be (I haven't looked into it) but even if true, there's still the matter of *when* your single window becomes the main window. Your awakeFromNib method certainly gets called after the nib is loaded, objects initialized, and outlets set, but before any windows are displayed and become key, main or whatever.


_murat
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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/email@hidden

This email sent to email@hidden
References: 
 >Re: Re: Cannot get toolbar to appear in window (From: Timothy Mowlem <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.