Reputation: 727
How I can add a Alphabet section to the Table View?
Many thanks.
Upvotes: 14
Views: 16966
Reputation: 1162
You need to implement 2 methods of UITableView for this i.e. sectionIndexTitlesForTableView return alphabet array in this & sectionForSectionIndexTitle. Check this tutorial for more info:
http://www.iphonedevcentral.com/indexed-uitableview-tutorial/
Upvotes: 5