ios使用xib文件创建自定义UITableViewCell的步骤 [英] ios steps to create custom UITableViewCell with xib file

查看:360
本文介绍了ios使用xib文件创建自定义UITableViewCell的步骤的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要使用xib文件创建自己的UITableViewCell,以绘制图形界面...
创建新类并使用到我的UITableView中的正确步骤是什么?

I need to create my own UITableViewCell using the xib file, to draw the graphic interface... what are the right steps to create my new class and to use into my UITableView?

提前感谢

推荐答案

在iOS5中你会想要使用新的:

In iOS5 you'll want to use the new:

registerNib:forCellReuseIdentifier

基本上相同事情......

Which basically does the same thing...

这篇关于ios使用xib文件创建自定义UITableViewCell的步骤的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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