• 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: John Stiles <email@hidden>
  • Date: Wed, 25 Apr 2007 15:10:30 -0700

I'd expect that the event loop wouldn't get a chance to invoke his delayed call until after all the nibs finished loading anyway. He can probably delay for 0.0 seconds and it would work too.

On Apr 25, 2007, at 2:12 PM, Michael Watson wrote:

And what if it takes 0.2 seconds to finish creating other nib objects?

He should use an IBOutlet, probably.


-- m-s

On 25 Apr, 2007, at 16:54, Steve Israelson wrote:

Is [NSApp mainWindow] returning nil maybe?
You may have to delay the execution of your toolbar create for about 0.1 seconds to allow the OTHER NIb file objects to be created first?



On 25-Apr-07, at 12:10 PM, Timothy Mowlem wrote:

Hello,

I am trying to learn how to use toolbars but, despite working through Apple's example code, I cannot make the toolbar appear in the window in my simple test case. I have created a bare bones test project with a main nib containing a window with a couple of controls and the menubar. The project defines TMApplicationDelegate, a class which is set to be both the Application's delegate and the NSToolbar's delegate.

_______________________________________________

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:
40bungie.org


This email sent to email@hidden

_______________________________________________

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:
40blizzard.com


This email sent to email@hidden

_______________________________________________

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


  • Follow-Ups:
    • Re: Cannot get toolbar to appear in window
      • From: Murat Konar <email@hidden>
References: 
 >Cannot get toolbar to appear in window (From: Timothy Mowlem <email@hidden>)
 >Re: Cannot get toolbar to appear in window (From: Steve Israelson <email@hidden>)
 >Re: Cannot get toolbar to appear in window (From: Michael Watson <email@hidden>)

  • Prev by Date: Re: NSArray - waste of time?
  • Next by Date: Re: NSPopUpButtonCell bindings help
  • Previous by thread: Re: Cannot get toolbar to appear in window
  • Next by thread: Re: Cannot get toolbar to appear in window
  • Index(es):
    • Date
    • Thread