ios - NSManagedObject added to relationship twice -
i have nsmanagedobject a, has many relationship object b. if create object b, , add relationship twice example
b = somehow [a addobjectb:b]; [a addobjectb:b];
will graph still consistent or have make sure not duplicate relationship in way? know it's set manages relationship duplicates should not allowed, want make sure.
a "to-many" relationship represented nsset , unique.
if add object relationship set multiple times appear in relationship once.
Comments
Post a Comment