Re: Why is it wrong to have relationships without an inverse in Core Data?
Re: Why is it wrong to have relationships without an inverse in Core Data?
- Subject: Re: Why is it wrong to have relationships without an inverse in Core Data?
- From: Rick Mann <email@hidden>
- Date: Sat, 22 Jun 2013 00:55:25 -0700
On Jun 22, 2013, at 00:50 , Keith J. Schultz <email@hidden> wrote:
> Core data helps in setting up the database, but deleting is another matter.
> You should do that manually for consistency. Core Data has no knowledge of the
> semantics of your database. so use prepareToDelete.
Yeah, I set it back to a one-way relationship and do the appropriate clearing on child delete in -prepareForDeletion. I just wish I could get rid of the warning.
--
Rick
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden