How do I add custom objects to the custom object library in xcode?
I created a class myObject and I want this new object to appear in my object library list for use with IB.
How do I add custom objects to the custom object library in xcode?
I created a class myObject and I want this new object to appear in my object library list for use with IB.
Xcode 4 doesn't support IB plug-ins anymore. You're out of luck. (This is a direct quote from a comment of one of the answers to How do you display custom UIViews in InterfaceBuilder?)
This is not a direct answer, but if your custom object is a subclass of something else, e.g.
NSObject
orUIView
, etc, then you can simply select the parent object and then change the identity to your subclass with the attributes window.If you want a direct answer, then read this post: How do you display custom UIViews in InterfaceBuilder? for instructions to create a plug-in for Interface Builder that uses your custom class.