• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cannot get toolbar to appear in window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


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

  • Prev by Date: Re: Re: Cannot get toolbar to appear in window
  • Next by Date: Re: Many-To-Many Relationship Interface in Core Data
  • Previous by thread: Re: Re: Cannot get toolbar to appear in window
  • Next by thread: NSUndoManager - grouping undo actions in Core Data
  • Index(es):
    • Date
    • Thread