I am using a fetchedResultsController and am using this for my predicate right now:
But this doesn't yield any results (when I remove it I get all objects for sets)
What I want is just objects of sets with a relationship with object exercise which has relationship with object session.
Any idea?
A Session (class file) has to many relationship to Exercise(class file) which has to many relationship to Set(class file). (click the links of class file to see the object implementation)
Code:
[fetchRequest setPredicate:[NSPredicate predicateWithFormat: @"sets == %@", self.exercise]];
But this doesn't yield any results (when I remove it I get all objects for sets)
What I want is just objects of sets with a relationship with object exercise which has relationship with object session.
Any idea?
A Session (class file) has to many relationship to Exercise(class file) which has to many relationship to Set(class file). (click the links of class file to see the object implementation)