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
Post a Comment