29,048
社区成员




- (void)jsonDataParse //ok
{
NSError *error;
// _resultDic = [NSJSONSerialization JSONObjectWithData:_resultData options:NSJSONWritingPrettyPrinted error:&error];
self.resultDic = [NSJSONSerialization JSONObjectWithData:self.resultData options:NSJSONWritingPrettyPrinted error:&error];
NSLog(@"DIc:------------count :%@",_resultDic);
if (error != nil) {
NSLog(@"JSON解析发生了错误:%@",error);
}
//解析Dic数据,从中得到 视频的 results 信息 //还可以得到 page 信息
_resultArray = [_resultDic objectForKey:@"results"];
[self.tableView reloadData];
}