Re: Core data - how to set string min max programmatically?
Re: Core data - how to set string min max programmatically?
- Subject: Re: Core data - how to set string min max programmatically?
- From: mmalc Crawford <email@hidden>
- Date: Wed, 16 Sep 2009 16:10:50 -0700
On Sep 16, 2009, at 3:56 PM, Leon Starr wrote:
I have been creating my models programmatically and am wondering how
to treat the min/max length fields for string attributes. I can't
seem to find any corresponding programatic settings. (Also
wondering if there is any effect to these settings). Been googling
all over the place with no success. Does anyone know?
<http://developer.apple.com/mac/library/documentation/Cocoa/Reference/CoreDataFramework/Classes/NSPropertyDescription_Class/NSPropertyDescription.html#//apple_ref/occ/instm/NSPropertyDescription/setValidationPredicates:withValidationWarnings:
>
For an example, see <http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/CoreDataUtilityTutorial/Articles/03_createModel.html#//apple_ref/doc/uid/TP40001800-CH219-TP9
>.
mmalc
_______________________________________________
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