• 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: NSToolbar and NSPopUpButton
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSToolbar and NSPopUpButton


  • Subject: Re: NSToolbar and NSPopUpButton
  • From: j o a r <email@hidden>
  • Date: Thu, 5 Dec 2002 07:38:47 +0100

Are you sure that the toolbar item view is available in "awakeFromNib:"?
The safest thing might be to not assume that a particular toolbar item is available until you get the "toolbarWillAddItem:" notification / delegate message. In some cases it's also important to remove any references (pointers) to the toolbar item on "toolbarDidRemoveItem:".

j o a r

On Thursday, Dec 5, 2002, at 04:01 Europe/Stockholm, Terence G4 Mac wrote:

When the app loads, though, all I've got are "Item1, Item2, and Item3" in the list -- none of my content. And, yes, the addItemWithTitle is definitely being called at least once -- I made sure of that.

I'm guessing this is just something I don't understand yet and I've failed to associate the popup with a menu correctly, perhaps? I don't know...

Can anyone provide the aspirin here? :)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >NSToolbar and NSPopUpButton (From: "Terence G4 Mac" <email@hidden>)

  • Prev by Date: Re: Cocoa and ... Pascal!!!
  • Next by Date: How are you writing out XML?
  • Previous by thread: NSToolbar and NSPopUpButton
  • Next by thread: Re: NSToolbar and NSPopUpButton
  • Index(es):
    • Date
    • Thread