• 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: Problem with validation (reproducible with EventManager example)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with validation (reproducible with EventManager example)


  • Subject: Re: Problem with validation (reproducible with EventManager example)
  • From: mmalcolm crawford <email@hidden>
  • Date: Sat, 3 Jun 2006 12:35:54 -0700


On Jun 3, 2006, at 12:27 PM, email@hidden wrote:

After inserting a row, you can't set the value to an empty string. I thought
there should be an automatic and easy way to check that, before CoreData checks
it when saving to the store.

As stated before, it's up to you to decide what validation to perform when. You are free to invoke validation methods as and when you like. "How to validate is a model decision, when to validate is a UI decision." (MP)


mmalc

_______________________________________________
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


References: 
 >Problem with validation (reproducible with EventManager example) (From: email@hidden)
 >Re: Problem with validation (reproducible with EventManager example) (From: mmalcolm crawford <email@hidden>)
 >Re: Problem with validation (reproducible with EventManager example) (From: email@hidden)

  • Prev by Date: Re: Problem with validation (reproducible with EventManager example)
  • Next by Date: incompatible Pointer...
  • Previous by thread: Re: Problem with validation (reproducible with EventManager example)
  • Next by thread: incompatible Pointer...
  • Index(es):
    • Date
    • Thread