Re: Core Data, bindings and synchronizing.
Re: Core Data, bindings and synchronizing.
- Subject: Re: Core Data, bindings and synchronizing.
- From: mmalc crawford <email@hidden>
- Date: Mon, 12 Feb 2007 13:23:09 -0800
On Feb 12, 2007, at 10:23 AM, Ryan Homer wrote:
This does NOT automatically update my view because there are now two
instances of the moc and each is in a different state. I have tried
using a shared moc and this DOES indeed keep the view in sync with
my background data changes, but I was wondering what solutions
others have used in cases like this. One immediate "situation" that
arises is that there is now no simply way to know when we are no
longer using the moc and therefore release it from memory.
It's not clear why you wouldn't know when you're no longer using an
object...
Is anyone somehow keeping the two instances of the moc in sync?
Further to Michael's comment that you haven't given a good reason for
maintaining two contexts:
<http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/Articles/cdChangeManagement.html
>
mmalc
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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