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

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -