How would I implement undo in an OpenGL ES painting application on the iPhone?

后端 未结 4 1672
长情又很酷
长情又很酷 2020-12-15 11:37

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.

4条回答
  •  囚心锁ツ
    2020-12-15 11:50

    To undo in a graphical application, you can use coreData.

    here is a detailed blogpost and read this one as well.

提交回复
热议问题