Tuesday 23 June 2015

How to use UISearchBar with TableView in iOS

If we have a huge list of items and want to search a item from the list then we use the UISearchBar with TableView and the item will be displayed in the table which have the matching value with the search text .
Here are the steps:
Step1: Add UITableView to the main.storyboard.
Step2: set the delegate and dataSource for the tableView
Step3: Create the outlet for tableView with following Syntax __weak IBOutlet UITableView *myTableView;
To Read complete information about “UISearchBar with TableView in iOS” visit FindNerd . Apart from this ,you can also ask questions & look for various programming queries along with their solutions including android, c,java,php programming questions and answers etc.as it is an effective technology forum also.

No comments:

Post a Comment