I have problems using UndoManager / NSUndoManager with async or long-running task. I have a solution that works, but is quite complicated - way more t ...
I have problems using UndoManager / NSUndoManager with async or long-running task. I have a solution that works, but is quite complicated - way more t ...
I'm trying to learn how UndoManager works. I made a small app to Undo/Redo something. And I have few questions, I cannot find answer in documentation: ...
Admittedly this is a broad question, but is it possible to undo or redo text input (via iOS's UndoManager?) when using a SwiftUI TextEditor control? I ...
Is there any way to tell undoManager that in some case the undo step has already been committed before the edit has happened? I have an application w ...
Why does the @Environment UndoManager not update its canUndo property when it has actions in its stack? I have a view that has a child that can utiliz ...
I want to implement a shake to undo on my iPhone App, in Swift. For now it works, but it didn't display an Alert asking to validate the undo gesture ...
Is it possible to opt into iOS 13's 3-finger undo/redo gestures for a whole UICollectionViewController (or UIViewController/UITableViewController)? I ...
I'm sure there's a simple answer to this, but I'm pretty noob to programming and have searched extensively here and on the few Undo tutorials I could ...
I have a core data application with an NSTableView bound to an NSArrayController. I manage adding and removing objects using the array controller. I'm ...
I am working on a sample desktop application to test the UndoManager class, which I don't often get to use. Anyway, the following is the idea. I c ...
With UndoManager.registerUndo(withTarget:selector:object:) I can register an undo operation, and in the provided selector calling this same method aga ...
How can I use different Undo Managers for a view? I want a similar behaviour to Xcode. For example, in Xcode if you edit multiple files (e.g. Swift ...
I'm trying to implement an undo feature when deleting cells in a UITableView. The cell data to be deleted is declared as a variable. The deletion part ...
I am trying to implement undo/redo in my model. So I made my model class a subclass of NSResponder, and then implemented the following: note: this co ...
In swift (4.2), I'm unable to redo then undo after an initial undo. The selector in UndoManager.registerUndo(...) is never called during the redo and ...
I have an NSView object that takes in mouseDragged events that changes the position of an object drawn in its respective view. In my NSViewController ...
I have a function for undo who works good. My app is a photo editor with multiple effect. When i add multiple effect to my photo and i undo all this e ...
I'm implementing an undo/redo feature in my code but for some reason my redo feature is not working heres my code for the text view: I then had thi ...
I'm trying to add Undo function for NSBezierPath. This function draws circle with NSBezierPath with radius 45. with mouseLocation as center of the ci ...
I'm creating an iOS App in which user can add effects to images. After applying that effect I've one done button which saves the current effect and al ...