I created an relation from PFObject to anotherPFobject ,such as:
[relation addobject:object1];
[mainObject setobject:relation forkey:@"relate"];
[mainObject save];
the "relate" property is an one to many relationship;
Then,if i delete the mainObject
[mainObject delete];
what i want to konw is that how can i delete the objects the "relate" property related to. Thank in advance.