Skip to content

Commit

Permalink
Pushing search bar fixes via Jack Lucky
Browse files Browse the repository at this point in the history
  • Loading branch information
Erica Sadun authored and Erica Sadun committed Dec 3, 2009
1 parent 1fb049d commit 458225d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions C18-Address Book/03-Images/main.m
Expand Up @@ -44,6 +44,12 @@ - (NSInteger)tableView:(UITableView *)aTableView numberOfRowsInSection:(NSIntege
return self.filteredArray.count; return self.filteredArray.count;
} }


// Via Jack Lucky
- (void)searchBarCancelButtonClicked:(UISearchBar *)searchBar
{
[self.searchBar setText:@""];
}

- (UITableViewCell *)tableView:(UITableView *)aTableView cellForRowAtIndexPath:(NSIndexPath *)indexPath - (UITableViewCell *)tableView:(UITableView *)aTableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{ {
// Dequeue or create a cell // Dequeue or create a cell
Expand Down

0 comments on commit 458225d

Please sign in to comment.