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 see things behave and get deleted without errors as expected.

I'll implement my own -isDeletable type methods on my managed objects in order to check them before potentially erroneously deleting them and having to present the user with a confusing message when they attempt to save.

Thanks again,

Ward
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please 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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to