Encio Peter Encio Peter - 6 months ago 15
Swift Question

Displaying tableviewcell side by side

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

Side By Side

Thank you all!

Answer

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.

Comments