[英]iOS - UITableViewCell in different Storyboard
I want to use a UITableViewController
which has four different type complex cell. 我想使用具有四个不同类型的复杂单元格的
UITableViewController
。 Different team members are required to work on different custom UITableViewCell
simultaneously. 需要不同的团队成员同时处理不同的自定义
UITableViewCell
。 We are working on Git so to avoid conflicts I have been asked to make four different Storyboards
for four different cell. 我们正在研究Git,所以为了避免冲突,我被要求为四个不同的单元制作四个不同的
Storyboards
。 But I cannot place a cell or simple UIView in different Storyboard
without view controller. 但是如果没有视图控制器,我无法将单元格或简单的UIView放置在其他
Storyboard
。 Please guide me, how do i implement it. 请指导我,我该如何实施。
Please keep in mind that cells will be instantiated and added on runtime
请记住,单元将在运行时实例化并添加
Create xib of your each cell, and register it in your UITableView
, you can use this xib anywhere in your project and with the same CellIdentifier
. 创建每个单元格的xib,并将其注册到
UITableView
,您可以在项目中的任何位置并使用相同的CellIdentifier
使用此CellIdentifier
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.