iPhone - Creating custom objects for Interface Builder?

后端 未结 2 832
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-05 04:42

I am currently subclassing UIView to create custom objects, they work perfectly fine

In interface builder i drag and drop a uiview and I set the class name to my cus

相关标签:
2条回答
  • 2021-01-05 05:10

    I've researched this myself a while back, as far as i know this is not possible using the iPhone SDK. When developing for the Mac SDK you can create your own IB plugins.

    0 讨论(0)
  • You need to add the custom view to the Interface Builder library. Go to File -> Read Class Files... in interface builder, and select your header file to add your item to interface builder's list.

    0 讨论(0)
提交回复
热议问题