Re: NSToolbar and NSPopUpButton
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.