Add a DYECanvasView as a subview in a Storyboard or programmatically then draw away!
Just call the methods to redo and undo!
// Undo drawed layers
self.canvasView.undo()
// Redo the layers that were removed
self.canvasView.redo()
Simply add it as a subview to start drawing!
Add a DYECanvasView as a subview in a Storyboard or programmatically then draw away!
Just call the methods to redo and undo!
// Undo drawed layers
self.canvasView.undo()
// Redo the layers that were removed
self.canvasView.redo()
Simply add it as a subview to start drawing!