Re: How do I compare two NSDates using NSPredicate & Core Data
Re: How do I compare two NSDates using NSPredicate & Core Data
- Subject: Re: How do I compare two NSDates using NSPredicate & Core Data
- From: "Sean McBride" <email@hidden>
- Date: Mon, 5 Apr 2010 20:02:31 -0400
- Organization: Rogue Research Inc.
On Sun, 4 Apr 2010 23:15:16 -0400, Michael A. Crawford said:
>Thus far I've gotten away with using -predicateWithFormat and scalar
>values. I now need to compare a couple of NSDate instances but am not
>sure how to code it up with NSPredicate. Consider me a 'visual' learner.
I'm pretty sure you can use just <, >, ==, etc. with NSDates in NSPredicates.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden