ios - Delete relationship between two entities MagicalRecord -


hi everyone,

i'm using magicalrecord , try remove relation established between 2 entities

contact <<--->> group

a contact can related several groups , group can related several contacts.

for instance, ben in group 1, alex in group 1, want remove ben group 1.

any idea ?

thanks in advance.

you can use method coredatageneratedaccessors category of nsmanagedobject's subclass. if name of relation's set groups, name of generated method removegroupsobject.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -