On 5 Jan 2010, at 20:56, Sean McBride wrote:

> 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).

That sounds like a good solution, thanks!

Cheers,

Chris
_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to