Permalink
Browse files

Pushing search bar fixes via Jack Lucky

  • Loading branch information...
1 parent 1fb049d commit 458225d8457a0bd6a1ce222af947723cfecc5c94 Erica Sadun committed Dec 3, 2009
Showing with 6 additions and 0 deletions.
  1. +6 −0 C18-Address Book/03-Images/main.m
@@ -44,6 +44,12 @@ - (NSInteger)tableView:(UITableView *)aTableView numberOfRowsInSection:(NSIntege
return self.filteredArray.count;
}
+// Via Jack Lucky
+- (void)searchBarCancelButtonClicked:(UISearchBar *)searchBar
+{
+ [self.searchBar setText:@""];
+}
+
- (UITableViewCell *)tableView:(UITableView *)aTableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
// Dequeue or create a cell

0 comments on commit 458225d

Please sign in to comment.