This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { | |
return 1; | |
} | |
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { | |
static NSString *CellIdentifier = @"Cell"; | |
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier]; | |
if (cell == nil) { | |
cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)searchBarSearchButtonClicked:(UISearchBar *)searchBar | |
{ | |
[searchBar resignFirstResponder]; | |
NSLog(@"Search Text: %@",[searchBar text]); | |
[self startSearchingWithText:[searchBar text]]; | |
} | |
- (void) startSearchingWithText:(NSString *)text { | |
... | |
// Go through the list of services and set up a query for the search term | |
QueryServiceManager *manager = [[QueryServiceManager alloc] initWithServices: services]; |
NewerOlder