in core data, I have two entities. XMPPUserCoreDataStorageObject & XMPPGroupCoreDataStorageObject.
XMPPUserCoreDataStorageObject has a property which holds an array of XMPPGroupCoreDataStorageObject (@property (nonatomic, strong) NSSet * groups;)
XMPPGroupCoreDataStorageObject also has a property which hold an array of XMPPUserCoreDataStorageObject (@property (nonatomic, strong) NSSet* users;)
I want to query the XMPPUserCoreDataStorageObject which is group by XMPPGroupCoreDataStorageObject. This is many-to-many mapping.
How can I achieve this?