@@ -72,19 +72,19 @@ if (cell == nil) cell = [[[UITableViewCell alloc] initWithStyle: UITableViewCellStyleDefault reuseIdentifier: @"site"] autorelease]; - cell.textLabel.text = [self.sites[indexPath.row] NSObject]; + cell.textLabel.text = self.sites[indexPath.row].NSObject; return cell; } - (void)searchBar:(UISearchBar *)searchBar textDidChange:(NSString *)searchText { - self.sites = [_siteStorage sitesWithFilter: [_searchBar.text OFObject]]; + self.sites = [_siteStorage sitesWithFilter: _searchBar.text.OFObject]; [_tableView reloadData]; } - (void)tableView: (UITableView *)tableView didSelectRowAtIndexPath: (NSIndexPath *)indexPath