Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.