Core data fetch only returns unique managed objects

Posted by JK on Stack Overflow See other posts from Stack Overflow or by JK
Published on 2010-05-03T14:29:34Z Indexed on 2010/05/04 4:38 UTC
Read the original article Hit count: 178

I execute a core data fetch which specifies a predicate as follows:

NSPredicate *predicate = [NSPredicate predicateWithFormat:@"identifier IN %@", favoritesIDs];

When there are duplicate items in the favoriteIDs array, the fetch request only returns 1 managed object. How can I ensure that more than one instance is fetched? Thank you.

© Stack Overflow or respective owner

Related posts about core-data

Related posts about cocoa