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

titaniumdecoy

macrumors member
Original poster
Oct 13, 2005
86
0
When using the iPhone UITableView in Indexed (not Grouped) mode, how do you add separators (the gray bars with white text)? Thanks.
 

robbieduncan

Moderator emeritus
Jul 24, 2002
25,611
893
Harrogate
1) Open XCode
2) Open the Documentation via Help->Documentation
3) Type UITableViewDatasource into the search
4) Read the documentation for UITableViewDatasource, in particular the numberOfSectionsInTableView: and tableView:titleForHeaderInSection: methods.
 

ArtOfWarfare

macrumors G3
Nov 26, 2007
9,558
6,058
1) Open XCode
2) Open the Documentation via Help->Documentation
3) Type UITableViewDatasource into the search
4) Read the documentation for UITableViewDatasource, in particular the numberOfSectionsInTableView: and tableView:titleForHeaderInSection: methods.

robbie, your instructions don't get him the results he wants.

5) Apply new knowledge to current task and get the job done.

(Sorry... guess that might be taken as spam now that I think about it... just waiting for someone to answer my question and seeing if I can help anyone else in the mean time...)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.