添加的表格视图单元格遵循 1 个自定义样式? [英] Added table view cells follow 1 custom style?

查看:24
本文介绍了添加的表格视图单元格遵循 1 个自定义样式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个自定义 UITableView 单元格.我想知道如何做到这一点.我了解如何实际创建它并为其编写代码,但是如何创建 1 种样式,然后当我添加更多单元格时,我想要相同的样式.我怎样才能做到这一点?有没有办法创建 1 个自定义单元格并让我以后要添加的所有其他单元格都遵循此单元格样式?感谢您的帮助!

I am wanting to create a custom UITableView cell. I would like to know how to do this. I understand how to actually create it and write code for it, but how can i create 1 style and then when i have more cells added, i want the same style. How can i do this? Is there a way to create 1 custom cell and have all the other cells that i want to add later follow this cells style?Thanks for the help!

推荐答案

也许这可以帮助您http://iphone-bitcode.blogspot.com/2011/06/custom-tableview-cell.html

这篇关于添加的表格视图单元格遵循 1 个自定义样式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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