• 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: What happened to NSDocument's changeCount?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What happened to NSDocument's changeCount?


  • Subject: Re: What happened to NSDocument's changeCount?
  • From: Kyle Sluder <email@hidden>
  • Date: Sun, 16 Sep 2012 13:58:35 -0700

On Sun, Sep 16, 2012, at 12:47 PM, Jerry Krinock wrote:
> But it seems that, starting with Mac OS X 10.7, NSDocument no longer has
> a _changeCount.  Neighboring instance variables are still in there.  This
> is kind of surprising.  Although I understand that changes were made to
> support Auto Save and Versions, I don't think any of this affected the
> Undo architecture.  According to the archived Release Notes [1], the last
> significant change to document undo was made with Mac OS X 10.5.

The change count infrastructure was probably replaced with the change
token infrastructure in order to support autosave and file coordination
on background queues.

Either way, this is why you can't rely on implementation details.

--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

References: 
 >What happened to NSDocument's changeCount? (From: Jerry Krinock <email@hidden>)

  • Prev by Date: What happened to NSDocument's changeCount?
  • Next by Date: Re: Dynamic Method Creation
  • Previous by thread: What happened to NSDocument's changeCount?
  • Next by thread: Inverted pattern image with CIFilter
  • Index(es):
    • Date
    • Thread