Can you create a shared toolbar as an IB Plugin?
Can you create a shared toolbar as an IB Plugin?
- Subject: Can you create a shared toolbar as an IB Plugin?
- From: Rick Hoge <email@hidden>
- Date: Sat, 2 Feb 2008 22:18:15 -0500
I would like to configure a toolbar for distribution in an IB Plugin.
This would be convenient, as I would like to use the same toolbar
layout in several different NIB files.
However it is not possible to drag the NSToolBar item in IB into an
IBLibraryObjectTemplate view. I had naively hoped I could do this,
and configure all the different toolbar items in this template and
then import the configured toolbar into different nib files. It's
clear that the toolbar object does some special stuff when dragged
(i.e. attaching itself to a window when dragged into one) so I
shouldn't be surprised you can't drag it into an
IBLibraryObjectTemplate view, or for that matter the parent view that
contains all these in the IB Plugin nib file.
Is there any standard way to do this? I suppose I could achieve some
degree of re-use by creating my custon toolbar items in the IB plugin
and avoiding having to redo these. It would be better though to have
the whole toolbar configured in some way where it could be shared.
Maybe I could also just do this somehow in a regular framework without
using the IB Plugin approach.
grateful for any suggestions,
Rick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden