Re: NSManagedObject validateForDelete problem

2009-03-14 Thread Ward Ruth
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

NSManagedObject validateForDelete problem

2009-03-13 Thread Ward Ruth
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. As a toy example I created a simple CoreData app with two entities, Department and