Im using a tableView and a searchBar.
When the user writes a word and hit the search button,
this method:
Code:
- (void) searchBarSearchButtonClicked:(UISearchBar *)SearchBar
{
// 1:
passedString = searchBar.text;
// 2:
[self.tableView reloadData];
}
1: Sets the search text in a global string who changing URL to the XML database. Witch working just fine.
2: Should reload the data in the tableView after the searching text.
There is nothing wrong with the database xml parsing, because it works when u type in a search word in the code your self. But it wont reload the taleView Data?
Im a noob so please help :]