Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old May 15, 2011, 09:11 PM   #1
Fazzl
macrumors 6502a
 
Join Date: Aug 2007
Need Help With NSPredicate

I am using a fetchedResultsController and am using this for my predicate right now:

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)
Fazzl is offline   1 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
NSPredicate funkyness dantastic iPhone/iPad Programming 8 Mar 8, 2014 02:17 PM
How to select NSNumber data with NSPredicate?? mikezang iPhone/iPad Programming 0 Oct 17, 2012 09:39 AM

Forum Jump

All times are GMT -5. The time now is 05:25 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC