Use the same type of cell in different storyboard screens without duplication


I have a UITableViewController using many different types of cells.

In the code, each of those cells has its own UITableViewCell subclass.

In storyboard, they are all in the same screen.

Now I need to use the same cells in other screens as well.

How do I do that without having to copy and paste my cell in storyboard in the new screens?

I don't want any duplication in storyboard when it comes to layout and constraints.

Your best option is probably to move the cells into separate XIB files. You need to use the registerNib: method on UITableView to tell the table where it can find the cell definition.