Using NSPredicate to filter on both Core attribute and entity
- by Ben Thompson
I have two entities in core data (call them entityOne and entityTwo). I have a entityOne<---entityTwo relationship between them.
I am now trying to code an NSPredicate to fetch entityTwo objects on the following basis:
Fetch entityTwo objects that have a relationship with a specified entityOne object.
Filter out those entityTwo objects which…