Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I add an alphabet jump list to a tableview like the contact list

I would like to create a custom contact list in my app offering a similar A-Z jump list like the standard contact list does.

Is this possible with a TableView?

like image 554
Anthony Main Avatar asked May 05 '10 12:05

Anthony Main


1 Answers

There is a comprehensive tutorial on how to do it in the "Table View Programming Guide", called "Populating an Indexed List".

Moreover, if you also need to have the search functionality (the magnify icon), there are two well written solutions:

  • http://iamthewalr.us/blog/2009/12/uisearchdisplaycontroller-and-uilocalizedindexedcollation/
  • http://lukeredpath.co.uk/blog/using-uilocalizedindexedcollation-with-searchable-table-views.html
like image 133
Laurent Etiemble Avatar answered Sep 20 '22 04:09

Laurent Etiemble