I\'m using Apple\'s sample application GLPaint as a basis for an OpenGL ES painting application, but I can\'t figure out how to implement undo functionality within it.
To undo in a graphical application, you can use coreData.
here is a detailed blogpost and read this one as well.