Check out the Doodle+ app to see this powerful library in action
ACEDrawingView is a sample project showing exactly how to create a nice and smooth drawing application. In a few lines of code it supports drawing with different colors and line width. It also includes a full undo/redo stack and it can export the view as an UIImage.
pod 'ACEDrawingView'to your Podfile.
.package(url: "https://github.com/acerbetti/ACEDrawingView.git", from: "2.3.0") to your
This component can be used in projects using ARC or not
09/21/2016 - v2.0
05/20/2014 - v1.3
05/06/2014 - v1.2
06/09/2013 - v1.1
06/05/2013 - v1.0.1
01/15/2012 - v1.0
01/13/2012 - v0.2
01/06/2013 - v0.1
Copyright (c) 2016 Stefano Acerbetti
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.