View Full Version : Can I add objects to a UITableView in UI Builder in xCode ?

May 22, 2011, 04:38 AM
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 ?


May 22, 2011, 07:11 AM
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.

May 22, 2011, 07:17 AM
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" ?

May 23, 2011, 01:59 AM
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

May 24, 2011, 03:01 AM
You can design your cells in Interface Builder, but you can only tell it which cells to put where in code.