• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Core Data, bindings and synchronizing.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Core Data, bindings and synchronizing.
      • From: Ryan Homer <email@hidden>
References: 
 >Core Data, bindings and synchronizing. (From: Ryan Homer <email@hidden>)

  • Prev by Date: Re: How to set scheduling in NSThread based application
  • Next by Date: Modelling a small unchanging set of possibilities (Core Data)
  • Previous by thread: Re: Core Data, bindings and synchronizing.
  • Next by thread: Re: Core Data, bindings and synchronizing.
  • Index(es):
    • Date
    • Thread