Can I add objects to a UITableView in UI Builder in xCode ?

Discussion in 'iPhone/iPad Programming' started by aneuryzma, May 22, 2011.

  1. macrumors newbie

    Joined:
    May 9, 2011
    #1
    Can I add objects to a UITableView in UI Builder in xCode ?

    I've tried to drag a bottom and top bar onto the UITableView but it doesn't work.

    Should I embed it into another View instead ?

    thanks
     
  2. macrumors 6502

    dantastic

    Joined:
    Jan 21, 2011
    #2
    if you want stuff north & south of a uitableview you can either stick that stuff into the header & footer of the uitableview or you will have to put everything onto a uiview.

    So either embed in another uiview or add to header & footer - but that you'll have to do through code.
     
  3. thread starter macrumors newbie

    Joined:
    May 9, 2011
    #3
    So.. is the answer "no, only with code. If you want to do it from UIBuilder you need to embed the tableView into a parent view" ?
     
  4. macrumors 65816

    jnoxx

    Joined:
    Dec 29, 2010
    Location:
    Aartselaar // Antwerp // Belgium
    #4
    If it's customizing your cells into special cells. then u can do it via XIB. With an UITableViewCell, and drag it in there, and use those cells instead of the standards.

    If it's about the north/south part, check above posts :p
     
  5. macrumors 6502

    Joined:
    Jun 17, 2007
    #5
    You can design your cells in Interface Builder, but you can only tell it which cells to put where in code.
     

Share This Page