Home > Blockchain >  Use the same cell for table view and collection view
Use the same cell for table view and collection view

Time:05-30

So I have a few collection views that use the same cell (which basically looks like table view but for my purposes, I need to use the collection view). In the newest feature I am using tableView and cell for it looks the same, so is there a way to use the same cell for that view too?

CodePudding user response:

Simply, no. A TableViewCell is of type UITableViewCell which is very different from UICollectionViewCell.

  • Related