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

Discussion in 'iOS Programming' started by aneuryzma, May 22, 2011.

  1. aneuryzma macrumors newbie

    May 9, 2011
    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 ?

  2. dantastic macrumors 6502a


    Jan 21, 2011
    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. aneuryzma thread starter macrumors newbie

    May 9, 2011
    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. jnoxx macrumors 65816


    Dec 29, 2010
    Aartselaar // Antwerp // Belgium
    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. amorya macrumors 6502

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

Share This Page