Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

aneuryzma

macrumors newbie
Original poster
May 9, 2011
21
0
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
 

dantastic

macrumors 6502a
Jan 21, 2011
572
678
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.
 

aneuryzma

macrumors newbie
Original poster
May 9, 2011
21
0
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" ?
 

jnoxx

macrumors 65816
Dec 29, 2010
1,343
0
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
 

amorya

macrumors 6502
Jun 17, 2007
252
7
You can design your cells in Interface Builder, but you can only tell it which cells to put where in code.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.