毛熊爸
魔神至尊
苹果神教
-(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 =