【发布时间】:2011-12-17 08:25:22
【问题描述】:
我想将下载的字符串转换为 NSArray。首先,我使用 URLFetcher 下载数据。之后,我需要将我的 plist 数据转换为 nsarray。但未能成功。
-(void)urlDidFinish:(UrlFetcher *)urlFetcher withString:(NSString *) responseString {
NSLog(@"Response: %@", responseString);
data = [NSArray arrayWithContentsOfFile:responseString];
[table reloadData];
}
【问题讨论】: