Вопрос

I search lot about it but can't get more detail about what I want.

Is it possible to reverse all the functionality performed any method with the help of NSUndoManager class.

For example : suppose I am deleting any row from table view or remove any subview from its superview in that method. can I reverse that things with the help of NSUndoManager.

is prepareWithInvocationTarget method of NSUndoManager can helpful for that ?

Any help will be greatly appreciated.

Thanks in advance !!!

Это было полезно?

Решение

This document has all the answers!

Introduction to Undo Architecture

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top