Toolbar items added to a toolbar not visible in Interface Builder 3
Toolbar items added to a toolbar not visible in Interface Builder 3
- Subject: Toolbar items added to a toolbar not visible in Interface Builder 3
- From: Timothy Mowlem <email@hidden>
- Date: Wed, 13 Feb 2008 00:13:27 +0000
Hello,
I am fairly inexperienced with Cocoa development. I am having a
problem in that I cannot see items that I have added to a toolbar in
Interface Builder 3.
I have a project's MainMenu.nib open. I drag an NSToolbar onto the
window. I can see the default toolbar items both in the design window
and when I run in Simulate Interface mode. I then drag an
ImageToolbarItem onto the toolbar.
Now I cannot see the newly added NSToolbarItem either in the design
view or when I run Simulate Interface. Setting the toolbaritem's image
to "NSPreferencesGeneral" (the lightswitch icon used for general
preferences in many preferences windows, e.g. the Finder) made no
difference.
I have read the Interface Builder documentation via the XCode 3
documentation window (currently up to date) but the NSToolbar class
reference still has a last updated date of 2006 so it is still the old
version. I also searched Google but I haven't found anything relating
to this issue.
There are various articles dealing with pre-IB3 behaviour which show
how to implement three required delegate methods.
So my questions are:
Why does IB3 not show the toolbar items that I added via the IB library?
Is it still necessary to implement the delegate methods?
Thank you,
Timothy Mowlem
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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