如何在iPhone的xcode 4中制作customUI对象 [英] How to make customUI objects in xcode 4 for iPhone

查看:225
本文介绍了如何在iPhone的xcode 4中制作customUI对象的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如何在iPhone中制作自定义UI对象?

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

推荐答案

您不能为自定义对象执行自定义对象iPhone开发还没有。这适用于Mac开发。

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

最接近的是基于UIView编写自己的自定义组件,然后在IB中放置UIView并将类型更改为您的自定义零件。然后它将允许您进行所需的任何布线,并在运行时将嵌入您自己的类的实例。你不能在IB中看到组件,只有空的UIView ....

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

这篇关于如何在iPhone的xcode 4中制作customUI对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆