iOS 取字典中bool和int类型的值
2018-04-03 本文已影响31人
夏天爱西瓜汁
2016.8.12
BOOL canLoan = [dto.data objectForKey:@"canLoan"];
int type = [[dto.data objectForKey:@"type"] intValue];
2016.8.12
BOOL canLoan = [dto.data objectForKey:@"canLoan"];
int type = [[dto.data objectForKey:@"type"] intValue];