• 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: Quincey Morris <email@hidden>
  • Date: Sat, 3 Apr 2010 15:28:37 -0700

On Apr 3, 2010, at 12:05, Ben Trumbull wrote:

> The canonical solution is to tell your controller objects like NSArrayController to refetch from the new document.   It sounds like you're fighting the document based Save As behavior.  It's "close the existing document, save the current state to a new document, open new document"

Do you mean "fighting the NSPersistentDocument Save As behavior"?

My understanding is that "close the existing document, save the current state to a new document, open new document" is *not* the semantics of plain NSDocument Save As -- the whole point being that transient state is preserved across a Save As. No NSDocument-based (non-NSPersistentDocument-based) application is required to discard all of its in-memory object references after doing a Save As, as far as I'm aware.


_______________________________________________

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

References: 
 >re: Invalidated managed objects (From: Ben Trumbull <email@hidden>)

  • Prev by Date: How do I get a file reference w/o relying on the path?
  • Next by Date: Re: What is the runtime context of an event tap?
  • Previous by thread: re: Invalidated managed objects
  • Next by thread: Re: Invalidated managed objects
  • Index(es):
    • Date
    • Thread