• 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
Re: Core data - how to set string min max programmatically?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Core data - how to set string min max programmatically? (From: Leon Starr <email@hidden>)

  • Prev by Date: Re: NSTableView scroll row by row (?)
  • Next by Date: CoreData and NSTimeInterval
  • Previous by thread: Core data - how to set string min max programmatically?
  • Next by thread: Re: Core data - how to set string min max programmatically?
  • Index(es):
    • Date
    • Thread