Thanks for the feedbacks -- makes total sense to me now. Yeah, I was
under the mistaken impression NSManagedObject's -validateForDelete was
something that would work for me to call before actually attempting
the delete. After actually performing a delete and save (based on my
toy example) I
On 2009 Mar 13, at 01:44, Ben Trumbull wrote:
-validateForDelete: is ... not intended to double as -canDelete or -
isDeleteable.
When I first started using Core Data I had the mistaken impression
that the various -[NSManagedObject validate] methods were hooks
into which I could place
I'm attempting to use NSManagedObject validateForDelete in order to
provide timely feedback to delete actions by users. But the
relationship delete rules don't seem to be getting applied as I would
expect.
-validateForDelete: is intended as a potential delegate hook for
subclasses of NSManaged