0
我想將下載的字符串轉換爲NSArray。首先我使用URLFetcher下載數據。之後,我需要將我的plist數據轉換爲nsarray。但無法成功。將nsstring數據轉換爲nsarray(plist)
-(void)urlDidFinish:(UrlFetcher *)urlFetcher withString:(NSString *) responseString {
NSLog(@"Response: %@", responseString);
data = [NSArray arrayWithContentsOfFile:responseString];
[table reloadData];
}