• 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: Invalidated managed objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Invalidated managed objects


  • Subject: Re: Invalidated managed objects
  • From: Gideon King <email@hidden>
  • Date: Sun, 4 Apr 2010 11:25:55 +1000

Phew, that's a relief. I'll look forward to hearing what I'm doing wrong in my sample project then.

Regards

Gideon

On 04/04/2010, at 11:22 AM, Ben Trumbull wrote:

>
> On Apr 3, 2010, at 5:07 PM, Gideon King wrote:
>
>> Wow, this is huge! Obviously the user doesn't expect the document to disappear and a new one open up just because they did a Save As operation
>
> I have I'm afraid led you astray.  The invalidated objects are not coming from the Save As operation.  The managed objects in the MOC bound to the NSPersistentDocument, and any other MOCs bound to that same PSC will keep the NSManagedObjects themselves in sync with the underlying document even as it is remapped to a new file.  I'll send you a sample project from the template that logs the notifications from NSManagedObjectContext and NSPersistentStoreCoordinator.  The NSManagedObject pointers remain undisturbed.
>

_______________________________________________

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: Invalidated managed objects
      • From: Ben Trumbull <email@hidden>
References: 
 >re: Invalidated managed objects (From: Ben Trumbull <email@hidden>)
 >Re: Invalidated managed objects (From: Gideon King <email@hidden>)
 >Re: Invalidated managed objects (From: Ben Trumbull <email@hidden>)

  • Prev by Date: Re: Invalidated managed objects
  • Next by Date: Re: How do I get a file reference w/o relying on the path?
  • Previous by thread: Re: Invalidated managed objects
  • Next by thread: Re: Invalidated managed objects
  • Index(es):
    • Date
    • Thread