I have two related entities in core data
a book entity @property (nonatomic, retain) NSString * author; @property (nonatomic, retain) NSString * name; @property (nonatomic, retain) NSSet *reviews;
a review entity
@property (nonatomic, retain) NSString * reviewer; @property (nonatomic, retain) NSString * reviewText; @property (nonatomic, retain) Book *book;
the last property in each is the relationship.
I have a book object Book *book
How do I fetch from CoreData all review object that are related to 'book'?