nsundomanager
Undo manager not up to date with NSPersistentDocument
I have some calculated values in the core data database that I need to update just before saving. Basically I\'m numbering some entities in order to ease up the navigation between them.[详细]
2023-04-12 07:13 分类:问答How can I replace text in UITextView with NSUndoManager support?
I want to be able to replace some text in an UITextView programatically, so I wrote this method as an UITextView category:[详细]
2023-03-14 18:30 分类:问答UITextView and NSUndoManager synchronisation
I have tried to search first but couldn\'t find exactly what I need. I have one UITextView and I have buttons that are executing actions undo and redo on UITextViews NSUndoManager so that part is wor[详细]
2023-03-14 05:39 分类:问答Cancelling edits: NSUndoManager or separate NSManagedObjectContext for editing?
I have a View Controller that manages a view which is always shown in editing mode. The view is essentially a table view similar to that of a contact\'s details in Apple\'s Contacts app. The model und[详细]
2023-03-09 05:52 分类:问答Creating a continuously updating custom control with proper undo management
I am putting together a custom NSView that handles two values through bindings. I am propagating the values upon updates as outlined by Tom Dalling in the question Can you manually implement Cocoa bin[详细]
2023-03-03 23:57 分类:问答Restore one fetched entity out of many -- Core Data
This question covncerns my lack of understanding of how to use the core data undo manager and how to restore a NSManagedObject to its state before editing was done.[详细]
2023-02-28 10:08 分类:问答Help with NSUndoManager
Ok, So i want to add the ability to undo certain actions in my app.I was going to create a way to do it, with my own protocals or something, but then I found out about NSUndoManager.I would like to us[详细]
2023-02-21 22:50 分类:问答iOS -NSUndoManager stops working when some text is appended to a textView
So my problem is to make my textView capable of undo/redo action ( I use two buttons to do this ). Reading the doc I discovered that UITextView has a built-in undoManager and his basic usage is really[详细]
2023-02-13 15:02 分类:问答How can I make NSUndoManager's undo/redo action names work properly?
I\'m learning Cocoa, and I\'ve gotten undo to work without much trouble. But the setActionName: method is puzzling me. Here\'s a simple example: a toy app whose windows contain a single text label and[详细]
2023-02-12 14:34 分类:问答NSImageView and NSUndoManager
I have a image on the view and user can drag and move the image or rotate the image with finger touch.[详细]
2023-02-12 11:30 分类:问答