[CORE DATA] is it safe to modify/delete a managed object during its validation?
[CORE DATA] is it safe to modify/delete a managed object during its validation?
- Subject: [CORE DATA] is it safe to modify/delete a managed object during its validation?
- From: Aurélien Hugelé <email@hidden>
- Date: Thu, 8 Feb 2007 12:26:02 +0100
Hi list!
I've finally implemented some more validation in my managed object
subclass, in validateForUpdate: and validateForInsert:
If problem is encountered, is is possible to fix the object on the
fly at this place? can I use accessors to modify the object?
Since the validation phase is processed at the beginning of the save
phase, will the changes (made during validation phase) be applied for
THIS save?
thanks
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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