Hi,
I tried to find some ressources for creating an XML parser with a searchBar. Any Idea?
Thanks a lot
Hi,
I tried to find some ressources for creating an XML parser with a searchBar. Any Idea?
Thanks a lot
That's a pretty generic question. You're likely to get alot more answers by asking something more specific about what you want to accomplish. Developers are more about implementation than design. Perhaps you can rephrase your question in that context? I'm sure you have a few ideas on your mind. Why not share them?
Thanks for your advice. I have a tableview with an uisearchbar filled with an xml file. The code above show it with NSURL but i cant do it with parseXMLFileAtURL.
I found a good tutorial (in french) to parse XML file but i cant add to it a searchbar. Id like to find a tutorial mixing xml parsing and searchbar.
Thank you
NSURL *url = [NSURL URLWithString:@"http://www.....fr/file.xml"];
NSArray *gamesToLiveInArray = [NSArray arrayWithContentsOfURL:url];
NSLog(@"%@", [gamesToLiveInArray description] );
NSDictionary *gamesToLiveInDict = [NSDictionary dictionaryWithObject:gamesToLiveInArray forKey:@"title"];
[listOfItems addObject:gamesToLiveInDict];
//copy du tableau
copyListOfItems = [[NSMutableArray alloc] init];
//titre
self.navigationItem.title = @"Recherche";
//ajoute la searchbar
self.tableView.tableHeaderView = searchBar;
searchBar.autocorrectionType = UITextAutocorrectionTypeNo;
searching = NO;
letUserSelectRow = YES;