Need Help With NSPredicate

Discussion in 'iOS Programming' started by Fazzl, May 15, 2011.

  1. Fazzl macrumors 6502a


    Aug 13, 2007
    I am using a fetchedResultsController and am using this for my predicate right now:

    [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)

Share This Page