毛熊爸
魔神至尊
苹果神教
-(void)updateHuobiOrder { dispatch_async(kBgQueue, ^{ NSMutableDictionary *post = [[NSMutableDictionary alloc] init]; [post setObject:@"get_delegations" forKey:@"method"]; NSData *response = [btceapiHandler hbgetResponseFromServerForPost:post]; if (response == nil) { return; } NSError *hbOrderError; NSDictionary *hbOrder = [NSJSONSerialization JSONObjectWithData:response options:kNilOptions error:&hbOrderError]; NSArray *resultArray = [hbOrder valueForKey:@"id"]; NSUInteger *resultCount = [resultArray count]; hbOrders = [NSString stringWithFormat:@"%i",resultCount]; }); }
查看详细资料
TOP
小侠
原帖由 @lower 于 2014-2-15 22:22 发表 NSArray count方法的返回值就是unsigned int,你这里却转成了unsigned int*
天外飞仙
原帖由 @被K汉姆 于 2014-2-16 00:34 发表 NSUInteger *resultCount =
版主
日均500行
原帖由 eva3d 于 2014-2-15 22:43 发表 posted by wap, platform: Nintendo (WiiU) 我试过用 int variable = [array count]; 也是报不兼容..
查看个人网站