PFQuery *query = [PFQuery queryWithClassName:@"Category"];
// Retrieve the object by id
[query findObjectsInBackgroundWithBlock:^(NSArray * _Nullable objects, NSError * _Nullable error) {
// Now let's update it with some new data. In this case, only cheatMode and score
// will get sent to the cloud. playerName hasn't changed.
// NSLog(@"%@",[objects objectAtIndex:1]);
// NSLog(@"%@",[objects valueForKey:@"mensClothingType"]);
NSArray * result = [[objects valueForKey:@"mensClothingType"] componentsJoinedByString:@""];
NSLog(@"%@",result);
}];
}
我怎样才能获得所有' mensClothingType'从对象并将其放入一个数组?目前,如果我读出阵列'对象'
我明白了:
(
(
Shirts
),
(
Jeans
)
)