Re: IB plugins
Re: IB plugins
- Subject: Re: IB plugins
- From: JongAm Park <email@hidden>
- Date: Fri, 03 Oct 2008 12:09:01 -0700
> Ken,
>
> Step 2 of this section says: "In the library window, select the
> Library > IB SDK group. This group contains a single entry, which is
> a library object template." It is referring to the "Interface
> Builder Kit" category of items (as opposed to, for example, the
> Cocoa or WebKit groups) in the Library window.
When I create a new IB project using Xcode, I can't see any files,
groups, categories or resources labeled "Interface Builder Kit." Which
application should I be looking in? Xcode or InterfaceBuilder? If you
create a new IB plugin at your end, do you see this "Interface Builder
Kit" category? If not, which of the automatically generated files is
it contained in?
Hello.
The current "Interface Builder Plug-in" project template contains a bug
and I reported it.
But you should not have problem in the step you have trouble.
For comparison, my project string formatter IB plugin project contains
these. I didn't add any new files, except for an image.
JAStringFormatter ( the project)
- Plugin ( This is a directory for a plugin which will be built )
- Class Descriptions
- Classes
- Other Sources
- Resources
- JAStringFormatterLibrary.nib ( This *contains *the *LIBRARY
OBJECT!* So, open this one. )
- JAStringFormatterInspector.xib
- JAStringFormatter-picture.tif
- Framework ( This is a directory for a framework to be built. Other
project which will use your plugin will be linked to this framework. )
- Classes
- Resources
- Products ( will contain built IB plugin and its framework )
- Frameworks ( frameworks which are linked to the your IB plugin/framework)
--
Now, if you open your *.nib file which I wrote in red, or commented as
"(This contains the LIBRARY OBJECT!.. )",
you will be able to locate some icons : File's owner, First Responder,
Application, Library Object
The Library Object there is the one you are mentioning. The document
shows the default one, and you can edit it or you can remove it and add
a new one.
If you want to locate the "Library Object", which is
"IBLibraryObjectTemplate", bring a "Library" panel under Tools menu of
the Interface Builder.
Under its "Objects" tab, and under Library=>Cocoa, you will be able to
locate "Interface Builder Kit". If you click it, there is only one item,
"Library Template" which is subtitled as IBLibraryObjectTemplate. It is
the one you want.
I hope this clarify your question.
JongAm Park
_______________________________________________
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