Re: What happened to NSDocument's changeCount?
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