How to make customUI objects in xcode 4 for iPhone

不羁的心 提交于 2019-12-07 03:54:00

问题


I want to know how to make custom UI objects in iPhone ?


回答1:


You can't do custom objects for iPhone development yet. That's for Mac development.

The closest you can get is to program your own custom component based on a UIView, then place a UIView in IB and change the type to your custom component. It will then let you do any wiring needed and at runtime will embed an instance of your own class. You cannot see the component in IB though, only an empty UIView....



来源:https://stackoverflow.com/questions/6567673/how-to-make-customui-objects-in-xcode-4-for-iphone

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!