Re: Core Data Sequence Problem
Re: Core Data Sequence Problem
- Subject: Re: Core Data Sequence Problem
- From: Dado Colussi <email@hidden>
- Date: Thu, 21 Oct 2010 13:30:59 -0500
>
> 1. User removes the managed object from the existing document (using
> array controller), presses the close window button, changes are not saved.
2. Managed object is removed from the managed object context by the
> frameworks and is no longer reachable by any means that I am aware of.
>
You should eliminate the dependency to the graphics context.
As a quick fix, you could add -delete method in your managed object class,
and make it remove itself from the context. When user removes an object,
invoke the -delete method, and you have an opportunity to do your cleanup.
/Dado
_______________________________________________
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