Excellent! That is just what I was looking for... (remember reading
that stuff a while back, but forgot about it) Thanks.
FROM : mmalc Crawford
DATE : Thu Sep 17 01:10:50 2009
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 (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com