How do I create tables with multiple columns and rows?

Discussion in 'iOS Programming' started by moonman239, Nov 6, 2013.

  1. moonman239 macrumors 68000

    Mar 27, 2009
  2. xStep macrumors 68000

    Jan 28, 2003
    Less lost in L.A.
    Your create a custom UITableViewCell with subviews for each of your columns and use a UITableView.
  3. ArtOfWarfare macrumors G3


    Nov 26, 2007
    I believe you could also achieve this with a UICollectionView, in addition to the already mentioned UiTableView with divided UITableViewCells suggestion.
  4. moonman239 thread starter macrumors 68000

    Mar 27, 2009
    Thanks, guys. I find UITableViews to be peculiar because they look more like lists than a traditional data table.
  5. Duncan C macrumors 6502a

    Duncan C

    Jan 21, 2008
    Northern Virginia
    UITableViews were designed before the introduction of the iPad. Apple decided to not support columns of cells because the screen on iPhones/iPods is too small.

    NSTableView, the equivalent class on Mac OS, does support grids of cells.

    As the other poster said, so does NSCollectionView.

Share This Page