简体   繁体   中英

How to create table view inside the cell using storyboard?

I have created on nib file. In nib file i have one table view cell, In a cell i want to create a table view. But i am facing the problem to create a table view inside the cell. Please give me any suggestion on that. Thanks in advance.

Just drag the table view into the prototype cell's contentView. You'll probably want to make a UITableViewCell subclass in order to make it easier to encapsulate the datasource/delegate methods for the sub-tableview.

It is too difficult solution. Why can't you implement different cells in one table view? Not use table in cell in table, just use one table with different cells.

You can use tableviewceell control in nib/xib and than you can add table view in that cell.?

I have tried once.

Hope you will get your answer.

:)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM