Reputation: 146
I want to show my data in rows and columns. Number of columns are constant i.e 4, but number of rows are dynamic. How can I create such a table with 4 columns and multiple rows according to the data. Is there any API that could create table or what is the simple option for this?
Upvotes: 1
Views: 612
Reputation: 2067
Use this control, customize according to your need, get link fom
CocoaControl.com
Upvotes: 0
Reputation: 81868
Two approaches:
UICollectionView
(in conjunction with a flow layout) is made for this purpose.UITableView
with a custom cell that holds the four cells for each column.Upvotes: 4