Multiple undo managers for a text view
- by Rui Pacheco
Hi,
I've a text view that gets its content from an attributed string stored in a model object. I list several of these model objects in a drawer and when the user clicks on one the text view swaps its content.
I now need to also swap the undo manager for the text view. I initialise an undo manager on my model object and use undoManagerForTextView…