• 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: NSDate without time portion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDate without time portion


  • Subject: Re: NSDate without time portion
  • From: "Sean McBride" <email@hidden>
  • Date: Tue, 5 Jan 2010 15:56:27 -0500
  • Organization: Rogue Research Inc.

On 1/5/10 7:23 PM, Chris Ridd said:

>However Core Data models "dates" using NSDate. If you needed to model
>dates without times in Core Data (and be able to sort/filter on them)
>what would you do?

Core Data has the concept of a 'transformable' type.  You can use it to
store an NSDateComponents (since they are NSCoding compliant).

--
____________________________________________________________
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: NSDate without time portion
      • From: Chris Ridd <email@hidden>
References: 
 >NSDate without time portion (From: Brian Bruinewoud <email@hidden>)
 >Re: NSDate without time portion (From: Quincey Morris <email@hidden>)
 >Re: NSDate without time portion (From: Chris Ridd <email@hidden>)

  • Prev by Date: Resolution Independence
  • Next by Date: Re: NSDate without time portion
  • Previous by thread: Re: NSDate without time portion
  • Next by thread: Re: NSDate without time portion
  • Index(es):
    • Date
    • Thread