Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
Book Reference: The iPhone Developer's Cookbook - 2nd Edition (2009) Building Applications with the iPhone 3.0 SDK Original Source: https://github.com/erica/iphone-3.0-cookbook-/tree/master/C19-CoreData/04-Undo%20Support Modifications: The sample application demonstrated how to setup core-data and build a simple to-do application. The application support addition and deletion operations. The original source was working, but it was not demonstrating the undo and redo operations. The undo manager was configured, but there was no way to test if the undo and redo are working (in other words, the implementation was incomplete). I added a segmented control with undo and redo items, and implemented the basic undo and redo operations. You can now undo/redo add and delete operations. Key Terms: UITableView, NSFetchedResultsController, NSManagedObjectContext, NSUndoManager, undo, redo, grouping