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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Help with port forwarding for Security software? PPFee Mac Applications and Mac App Store 1 Dec 11, 2011 03:34 PM
Beginner: Took over project, now need help with Code needed MacMike82 iPhone/iPad Programming 3 Oct 12, 2010 12:51 AM
I need help with my iphone 3G please read !!!! I need help Chef On The Go iPhone Tips, Help and Troubleshooting 1 Nov 25, 2008 11:43 AM
Need help with book TUESDAYS WITH MORRIE thechris69 Community Discussion 7 Jan 21, 2006 10:42 PM
Need Help with DVD burning with non MPEG files..... superscientific Mac Applications and Mac App Store 2 Apr 18, 2004 10:58 PM


All times are GMT -5. The time now is 10:53 PM.

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

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