使用带有UITableViewController的UITableView子类 [英] Using a UITableView subclass with a UITableViewController

查看:118
本文介绍了使用带有UITableViewController的UITableView子类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何告诉我的 UITableViewController 使用我的自定义 UITableView 子类为它的 tableView 而不是常规 UITableView

How can I tell my UITableViewController to use my custom UITableView subclass for it's tableView instead of a regular UITableView?

推荐答案

将UITableViewController.tableView属性设置为自定义UITableView子类的实例。

Set the UITableViewController.tableView property to an instance of your custom UITableView subclass.

这篇关于使用带有UITableViewController的UITableView子类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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