开发者

How can I add a custom Object in Interface Builder?

开发者 https://www.devze.com 2023-03-16 14:21 出处:网络
I\'m using XCode4 and using the awesome TTTAttributedLabel class. I\'ve created a开发者_运维问答n NSObject and set its class to TTTAttributedLabel. I can\'t seem to add this to my View. How can I do s

I'm using XCode4 and using the awesome TTTAttributedLabel class. I've created a开发者_运维问答n NSObject and set its class to TTTAttributedLabel. I can't seem to add this to my View. How can I do so?


If your class subclasses a standard control, then you can edit the class in the right panel. Here's how you'd change the class of a UILabel:

How can I add a custom Object in Interface Builder?

Other than that, Xcode 4 dropped support for IB plugins.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号