Skip to content
Snippets Groups Projects
Commit a80ed539 authored by cramakri's avatar cramakri
Browse files

Working on search bar

SVN: 27467
parent bfbbe97c
No related branches found
No related tags found
No related merge requests found
...@@ -232,13 +232,13 @@ ...@@ -232,13 +232,13 @@
{ {
// TODO Put the controller in search mode // TODO Put the controller in search mode
NSLog(@"searchBarTextDidBeginEditing:"); NSLog(@"searchBarTextDidBeginEditing:");
searchBar.showsCancelButton = YES;
} }
- (void)searchBarTextDidEndEditing:(UISearchBar *)searchBar - (void)searchBarTextDidEndEditing:(UISearchBar *)searchBar
{ {
// TODO Figure out what to do here // TODO Figure out what to do here
NSLog(@"searchBarTextDidEndEditing:"); NSLog(@"searchBarTextDidEndEditing:");
[self.searchBar resignFirstResponder];
} }
- (void)searchBar:(UISearchBar *)searchBar textDidChange:(NSString *)searchText - (void)searchBar:(UISearchBar *)searchBar textDidChange:(NSString *)searchText
...@@ -250,13 +250,9 @@ ...@@ -250,13 +250,9 @@
- (void)searchBarCancelButtonClicked:(UISearchBar *) searchBar - (void)searchBarCancelButtonClicked:(UISearchBar *) searchBar
{ {
// TODO Take the controller out of search mode // TODO Take the controller out of search mode
NSLog(@"searchBarCancelButtonClicked:"); searchBar.showsCancelButton = NO;
} [self.searchBar resignFirstResponder];
[self.tableView becomeFirstResponder];
- (void)searchBarResultsListButtonClicked:(UISearchBar *)searchBar
{
// TODO Figure out what to do here
NSLog(@"searchBarResultsListButtonClicked:");
} }
#pragma mark - Server Communication #pragma mark - Server Communication
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment