J'essaye de faire lire un PLIST d'URL à un NSMutableDictionary.Lire plist de URL dans NSMutableDictionary
code avant
autos = [[NSMutableArray alloc] init];
[autos addObject:[[NSMutableDictionary alloc]initWithObjectsAndKeys:@"Auto 1", @"name", @"Auto.png", @"image", @"Klassiker", @"description" , nil]];
Cela fonctionne. Mais maintenant je veux utiliser un PLIST. Et j'essaie ceci, de cette manière:
autos = [[NSMutableArray alloc]initWithContentsOfURL:[NSURL URLWithString:[NSString stringWithFormat:@"http://dl.dropbox.com/u/9358444/auto.plist"]]];
Merci.
PLIST http://dl.dropbox.com/u/9358444/auto.plist
Problème est app se bloque si vous essayez d'utiliser PLIST et j'ouvre la ligne qui contient auto dans la tableview. – halloway4b
Ce serait utile si vous pouviez fournir le journal de panne? – Ravin