Encio Peter Encio Peter - 9 months ago 54
Swift Question

Displaying tableviewcell side by side

I'm basically trying to achieve this, Is this even possible ?

Side By Side

Thank you all!


To answer your question: You cannot display two UITableViews side by side. Instead you should use UICollectionView with the UICollectionViewFlowLayout.

If I understand the use case correctly you can only select one option per row, right? If so, I'd use a plain UITableView and add a UISegmentedControl to each row. With that you get the one-option-per-row behavior out of the box without having to write your own.