Re: Core Data entity fetching by date
Re: Core Data entity fetching by date
- Subject: Re: Core Data entity fetching by date
- From: "Sean McBride" <email@hidden>
- Date: Mon, 10 Nov 2008 11:51:06 -0500
- Organization: Rogue Research
On 11/8/08 11:50 PM, Quincey Morris said:
>you may decide it's worth simplifying things by adding a
>separate "month" attribute to every entity
The tradeoff there of course is that the model would then imply a
certain calendar. Since most of the world use the Gregorian calendar,
that might not be a problem, but it's something to consider.
Something else to think about: perhaps instead of storing an NSDate in
your model, you could store an NSDateComponents (using a 'transformable').
--
____________________________________________________________
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