How to make customUI objects in xcode 4 for iPhone

☆樱花仙子☆ 提交于 2019-12-05 06:16:22

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....

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