[self reloadData];
}
-- (void) viewWillAppear:(BOOL)animated {
- [super viewWillAppear:animated];
-
- if ([self filter] == @selector(isUnfilteredAndSelectedForBy:))
- [self useSearch];
-}
-
- (void) searchBarTextDidBeginEditing:(UISearchBar *)searchBar {
[self setObject:[search_ text] forFilter:@selector(isUnfilteredAndSelectedForBy:)];
[self clearData];
[textField setEnablesReturnKeyAutomatically:NO];
[[self navigationItem] setTitleView:textField];
}
+
+ if ([self isSummarized])
+ [search_ becomeFirstResponder];
}
- (void) reloadData {