User control with properties in Interface Builder

I want to subclass UILabel and add some properties. Can I create a custom control in Interface Builder and set these properties in it? Like text, font, etc.

+4
source share
1 answer

In previous versions, you could create a custom Interface Builder (IBPlugin) plugin. This is not possible in Xcode 4 as IBPlugin Support has been removed .

Update:. Support (starting with 4.1 and 4.2) for editing nibs / xibs containing custom objects provided by IBPlugins, but thatโ€™s all. That is, custom objects are displayed as general views / objects, and you cannot use the IB palette to edit them. This is a gradual progress. In 4.0, you could not even open such nibs / xibs. If you feel that they should return full IBPlugin support, add improvements to bugreport.apple.com.

+3
source

All Articles