• 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
Core Data date defaults
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Core Data date defaults


  • Subject: Core Data date defaults
  • From: Jeff LaMarche <email@hidden>
  • Date: Thu, 9 Jun 2005 11:10:11 -0400

In a data model, if you create an entity with a Date attribute, is there a way to specify it to default to the current date and time without subclassing NSManagedObject? Is there a system variable or something you can put in the default field that will do this? The documentation is mum on this point, but it seems like there's little reason to have a default value field on Date entities if you can't do that.

Thanks,
Jeff
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Core Data date defaults
      • From: John Timmer <email@hidden>
  • Prev by Date: Re: Property List Editor displays number differently
  • Next by Date: Re: NSTableView, its data source, and their document.
  • Previous by thread: Re: How to draw from a thread.
  • Next by thread: Re: Core Data date defaults
  • Index(es):
    • Date
    • Thread