Encio Peter Encio Peter - 2 years ago 110
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 Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download