Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 03-11-2009, 09:20 AM   #1 (permalink)
lajloos
New Member
 
Join Date: Mar 2009
Posts: 35
Default ReloadData in UITableView after Searh

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 :]
lajloos is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,840
Threads: 89,211
Posts: 380,651
Top Poster: BrianSlick (7,129)
Welcome to our newest member, saralo56
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 04:14 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.