• 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 and/or bindings: setting dynamic default values for properties?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Core Data and/or bindings: setting dynamic default values for properties?


  • Subject: Core Data and/or bindings: setting dynamic default values for properties?
  • From: Daniel DeCovnick <email@hidden>
  • Date: Fri, 10 Jun 2005 02:14:02 -0700

Hopefully an easy one, is there an easy way to set a dynamic default value for a property. Nothing more complicated than NSHomeDirectory (); or NSUsername(); (does that exist? it's late and I'm not on my dev machine) though. I'd rather not have to subclass NSManagedObject just to use these functions. If it makes it any easier, these strings would be used for display as default values that a user has to fill in for every instance of the entity; I'm just trying to make it easy on them. If the easier way involves bindings, that's fine too.

-Dan

Daniel DeCovnick
danhd123 at mac dot com
_______________________________________________
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 and/or bindings: setting dynamic default values for properties?
      • From: mmalcolm crawford <email@hidden>
  • Prev by Date: Re: Multi-User using Core Data?
  • Next by Date: Re: Multi-User using Core Data?
  • Previous by thread: Best approach: moving a pointer-like image over an NSImageView
  • Next by thread: Re: Core Data and/or bindings: setting dynamic default values for properties?
  • Index(es):
    • Date
    • Thread