Core Data: fetch an NSManagedObject by its properties
Posted
by niklassaers
on Stack Overflow
See other posts from Stack Overflow
or by niklassaers
Published on 2010-05-13T13:20:29Z
Indexed on
2010/05/13
13:24 UTC
Read the original article
Hit count: 276
Hi guys,
I have an object NetworkMember that has no attributes but is defined by its relationships Person, Network, Level and Role. In my app, I've found all the four relationships, but I want to make sure not to double-register my NetworkMember, thus I'd like to search for this NSManagedObject before instantiating it.
How should I write a query that queries for an NSManagedObject just consisting of relationships?
Cheers
Nik
© Stack Overflow or respective owner