• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How do I compare two NSDates using NSPredicate & Core Data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: How do I compare two NSDates using NSPredicate & Core Data
      • From: Ashley Clark <email@hidden>
References: 
 >How do I compare two NSDates using NSPredicate & Core Data (From: "Michael A. Crawford" <email@hidden>)

  • Prev by Date: Re: Finding managed objects by URI representation
  • Next by Date: Re: UpdateSystemActivity replacement in Cocoa?
  • Previous by thread: How do I compare two NSDates using NSPredicate & Core Data
  • Next by thread: Re: How do I compare two NSDates using NSPredicate & Core Data
  • Index(es):
    • Date
    • Thread