AlexBains
AlexBains

Reputation: 295

UITableView cell with collection view

I have created a .xib file for TableView cell, and I want to add a collection view into that cell. picture The gray rectangle shown in the picture is a collection view, my question is why the collection view doesn't show a prototype cell. What did I do wrong? Or this is what it should be, then how can I add a prototype cell? By making another .xib file for the UICollectionVew Cell?

Upvotes: 0

Views: 80

Answers (1)

matt
matt

Reputation: 534893

my question is why the collection view doesn't show a prototype cell

Because it's a .xib. Prototype cells are a storyboard feature.

Upvotes: 1

Related Questions