• 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] mergeChangesFromContextDidSaveNotification: and thread safety
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Core Data] mergeChangesFromContextDidSaveNotification: and thread safety


  • Subject: Re: [Core Data] mergeChangesFromContextDidSaveNotification: and thread safety
  • From: Kyle Sluder <email@hidden>
  • Date: Fri, 29 May 2009 15:40:53 -0700

On Fri, May 29, 2009 at 2:59 PM, mmalc Crawford <email@hidden> wrote:
> Could you elaborate on what is unclear?

Perhaps it would suffice to just have a simple one-liner that mentions
NSManagedObjectContextDidSave, specifically in the context of
multi-threaded Core Data.  It's not an easy topic, so I think an
airtight and direct guarantee (not qualified with any "for examples"
or such) that this method is able to use the managed objects contained
in a notification received on another thread, along with a link to the
NSManagedObjectContextDidSave (which also has a link back to
-mergeChangesFromContextDidSaveNotification:) and a caution about the
perils of using managed objects belonging to another thread's MOC
yourself, would be helpful.

And if it's determined to already be clear enough, please close the
bug, don't just leave it hanging like a lot of others.  Thanks very
much.  :)

--Kyle Sluder
_______________________________________________

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

  • Follow-Ups:
    • Re: [Core Data] mergeChangesFromContextDidSaveNotification: and thread safety
      • From: mmalc Crawford <email@hidden>
References: 
 >[Core Data] mergeChangesFromContextDidSaveNotification: and thread safety (From: AurĂ©lien HugelĂ© <email@hidden>)
 >Re: [Core Data] mergeChangesFromContextDidSaveNotification: and thread safety (From: Ben Trumbull <email@hidden>)
 >Re: [Core Data] mergeChangesFromContextDidSaveNotification: and thread safety (From: Kyle Sluder <email@hidden>)
 >Re: [Core Data] mergeChangesFromContextDidSaveNotification: and thread safety (From: mmalc Crawford <email@hidden>)

  • Prev by Date: Re: [Core Data] mergeChangesFromContextDidSaveNotification: and thread safety
  • Next by Date: Getting localized /Users/Shared Dir Name
  • Previous by thread: Re: [Core Data] mergeChangesFromContextDidSaveNotification: and thread safety
  • Next by thread: Re: [Core Data] mergeChangesFromContextDidSaveNotification: and thread safety
  • Index(es):
    • Date
    • Thread