If there is Child parent relationship, and you try to [myentity create] it results in creating parent entity. cannot understand the purpose of while (c && c != [NSManagedObject class]) { p = c; c = [c superclass]; } in SimpleModel.m
If there is Child parent relationship, and you try to [myentity create] it results in creating parent entity.
cannot understand the purpose of
while (c && c != [NSManagedObject class]) {
p = c;
c = [c superclass];
}
in SimpleModel.m