On Apr 27, 2010, at 6:55 PM, Graham Cox wrote:

Here's the problem: Any tasks on the undo stack that refer to a particular target must be removed when that target is dealloced.

I don't know your app, but this sounds backwards to me. Don't tasks/ nodes need to be kept around for as long as an undo item refers to them? Otherwise, what happens when the user tries to undo/redo that step?

In other words, I would expect that an undo item would have strong references to the tree nodes it affects.

—Jens_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to