Suppose you have a parent and a child in the Core Data model, and the parent has many relationships for the child children, you should be able to delete all children without cycling as follows:
NSManagedObject *parentObject = ...;
[parentObject setValue:nil forKey:@"children"];
or using the method generated by the basic information
- (void)removeChildren:(NSSet *)value;
NSSet *children = [parentObject valueForKey:@"children"];
[parentObject removeChildren:children];
, NSManagedObjectContext. , .