Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS Multiple Columns in UITableView

I have multiple rows and columns of data. But iPhone UITableView contains only single column and multiple rows. How do I display my multi column data following Apple's Human Interface Guidelines?

like image 804
Neo Avatar asked Feb 03 '09 10:02

Neo


2 Answers

You probably need to build it by your own, or use a library, like UIGridView. (I'm the creator)

You can learn the source code of UIGridView. It's really short.

like image 66
Tanin Avatar answered Sep 29 '22 21:09

Tanin


For those interested, I just updated MDSpreadView to be much faster, and it supports practically an unlimited number of rows and columns (up until CGFloat stops being accurate to the pixel) with an API very similar to UITableView. More info on my site

like image 22
Dimitri Bouniol Avatar answered Sep 29 '22 21:09

Dimitri Bouniol