How do I create tables with multiple columns and rows?

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

  1. moonman239 macrumors 68000

    Joined:
    Mar 27, 2009
  2. xStep macrumors 68000

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

    ArtOfWarfare

    Joined:
    Nov 26, 2007
    #3
    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

    Joined:
    Mar 27, 2009
    #4
    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

    Joined:
    Jan 21, 2008
    Location:
    Northern Virginia
    #5
    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