/
README
14 lines (10 loc) · 901 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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