When does validation happen in Core Data?

Posted by dontWatchMyProfile on Stack Overflow See other posts from Stack Overflow or by dontWatchMyProfile
Published on 2010-06-11T15:15:54Z Indexed on 2010/06/11 15:23 UTC
Read the original article Hit count: 241

Filed under:
|

From the docs:

If you make changes to managed objects associated with a given context, those changes remain local to that context until you commit the changes by sending the context a save: message. At that point—provided that there are no validation errors—the changes are committed to the store.

So does that essentially mean, that validation happens automatically as soon as I call -save?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about core-data