How to add a custom object to the interface builder?

I use Xcode4 and use the awesome TTTAttributedLabel class. I created an NSObject and set its class to TTTAttributedLabel. I cannot add this to my view. How can i do this?

+6
source share
1 answer

If your class subclasses the standard control, you can edit the class in the right pane. Here you can change the UILabel class:

enter image description here

In addition, Xcode 4 has refused support for IB modules.

+6
source

Source: https://habr.com/ru/post/891601/


All Articles