iPhone OS Reference Library Apple Developer Connection spyglass button

Version: 1.3

Posted: 2009-05-11

Build Requirements: Mac OS X 10.5.6 or later, iPhone SDK 3.0

Runtime Requirements: Mac OS X 10.5.6 or later, iPhone SDK 3.0

View Source Code:

Download Sample Code (“TableSearch.zip”, 21.1K)



Description

Demonstrates how to search the contents of a UITableView using UISearchBar and UISearchDisplayController, effectively filtering in and out the contents of that table. If an iPhone/iPod Touch application has large amounts of table data, this sample shows how to filter it down to a manageable amount if memory usage is a concern or you just want users to scroll through less table content.

Document Revision History

Date Notes
2009-05-11Updated UISearchBar and UISearchDisplayController as nib objects.
2008-09-25Minor user interface upgrades, no longer using UINavigationController; UISearchBar takes it's place.
2008-07-02Demonstrates how to search contents of a UITableView using UISearchBar and UISearchDisplayController.
Did this document help you? Yes It's good, but... Not helpful...