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"]);
NSString * result = [[objects valueForKey:@"mensClothingType"] componentsJoinedByString:@""];
NSLog(@"%@",result);
}];
}
how can i get all of the 'mensClothingType' from objects and put that into one array? currently if i read out the array 'objects'
i get this:
(
(
Shirts
),
(
Jeans
)
)
I would like to have it in one array
