Re: Cannot get toolbar to appear in window
Re: Cannot get toolbar to appear in window
- Subject: Re: Cannot get toolbar to appear in window
- From: Murat Konar <email@hidden>
- Date: Thu, 26 Apr 2007 16:55:47 -0700
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:
This email sent to email@hidden