iOS Multiple Columns in UITableView iOS Multiple Columns in UITableView ios ios

iOS Multiple Columns in UITableView


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.


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


If you are looking for something that looks like an Excel spreadsheet then I would recommend the MDSpreadview class. The source is available at http://mochidev.com/open. It looks pretty slick but bogs down if you have a lot of data to display.

Other than that, you should probably just create your own UITableViewCell. It's pretty easy with the new Storyboards of iOS5 and you can handle millions of cells of data.