FROM : mmalcolm crawford
DATE : Sat Jun 03 21:35:54 2006
On Jun 3, 2006, at 12:27 PM, <email_removed> 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
DATE : Sat Jun 03 21:35:54 2006
On Jun 3, 2006, at 12:27 PM, <email_removed> 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
| Related mails | Author | Date |
|---|---|---|
| gmc | Jun 3, 20:57 | |
| mmalcolm crawford | Jun 3, 21:13 | |
| gmc | Jun 3, 21:27 | |
| mmalcolm crawford | Jun 3, 21:35 |






Cocoa mail archive

