Core Data based To-Do application, with Undo Manager
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
HelloWorld.xcodeproj
ToDoItems.xcdatamodel
Default.png
HelloWorld-Info.plist
HelloWorld_Prefix.pch
ModalAlert.h
ModalAlert.m
READ ME.rtf
README
ToDoItem.h
ToDoItem.m
cover320x416.png
icon.png
main.m

README

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