Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPhone Table View with alphabet

How I can add a Alphabet section to the Table View?

Many thanks.

enter image description here

like image 420
andrii Avatar asked May 17 '11 12:05

andrii


1 Answers

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/

like image 107
Meenakshi Avatar answered Oct 23 '22 19:10

Meenakshi