Re: CoreData Fetch Request Failing When Using NSDate in NSPredicate
Re: CoreData Fetch Request Failing When Using NSDate in NSPredicate
- Subject: Re: CoreData Fetch Request Failing When Using NSDate in NSPredicate
- From: Diederik Hoogenboom <email@hidden>
- Date: Wed, 23 Nov 2005 15:36:30 +0100
David,
I think the format string should be @"%K > %@", otherwise it will
just compare strings.
Diederik
On 22-nov-2005, at 21:46, David Garcea wrote:
NSPredicate *dateInLast30DaysPredicate = [NSPredicate
predicateWithFormat:@"%@ > %@", propertyName, date30DaysAgo];
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden