• 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: Core Data entity fetching by date
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Core Data entity fetching by date (From: Michael Swan <email@hidden>)
 >Re: Core Data entity fetching by date (From: Quincey Morris <email@hidden>)

  • Prev by Date: NSButtonCell question
  • Next by Date: Re: Responder Chain & Multiple Windows
  • Previous by thread: Re: Core Data entity fetching by date
  • Next by thread: Opening persistent data store
  • Index(es):
    • Date
    • Thread