Re: NSUndoManager - unstable state
Re: NSUndoManager - unstable state
- Subject: Re: NSUndoManager - unstable state
- From: Jerry Krinock <email@hidden>
- Date: Thu, 30 Jun 2011 06:00:46 -0700
On 2011 Jun 29, at 23:08, Kyle Sluder wrote:
> On Wed, Jun 29, 2011 at 10:40 PM, <email@hidden> wrote:
>> Is there a way to check if the NSUndomanager is in an unstable state and reset it?
>
> No, NSUndoManager is very fragile, and if it gets into a bad state it
> is not recoverable.
and it's a black box you can't see inside.
Here we go again. For any real app of significant complexity, particularly if it uses Core Data, I highly recommend using Graham Cox' GCUndoManager instead of NSUndoManager:
http://apptree.net/gcundomanager.htm
You'll be happy immediately, and at any future date when you need to debug an undo issue.
_______________________________________________
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