- Update for Xcode 15 (thanks to @ricsantos!)
- Fix assertion due to zero size (thanks to @ricsantos!)
- Fix CI
- Update Package.swift
- Make TouchDrawView inherit from UIView
- Fixed drawing issue where
touchDrawViewandimageViewbounds didn't line up (thanks to @mkoorn!) - Change base class to
UIImageView
- Upgrades project to Swift 4 (thanks to @codyaweber!)
- Cleaned up a lot of the library's logic
- Added eraser functionality (
touchDrawView.setColor(nil)) - Significant performance improvements!
- Upgraded project to Swift 3.0.1 (thanks to @sirnacnud!)
- Set correct content scale on image contexts (also thanks to @sirnacnud!)
- Added some comments
- Refactored project into 3 separate files (for each class)
- Fixed
exportStackso it followsNSCoding - Added deployment target
8.0
- Added the ability to import and export the stack.
- Made the protocol methods optional.
- Made the code more Swifty.
- Added a few more tests
- Updated
README.md
- Added a handful of tests
- Updated
README.md
- Switched project settings to recommended settings
- Added documentation
- Fixed a bug where pressing clear wouldn't trigger
redoDisabled() - Updated deprecated code
- Added documentation
- Fixed
redo()andundo()so they work with various brush sizes and colors - Implemented
clearEnabled()to the protocol - Implemented
clearDisabled()to the protocol - Fixed a bug where
TouchDrawViewonly worked when it took up the entireViewController's screen
- Implemented
undo()(using last selected brush settings) - Implemented
redo()(using last selected brush settings) - Implemented
redoEnabled()andredoDisabled()protocol methods - Implemented
undoEnabled()andundoDisabled()protocol methods
- Initial release
- Implemented
TouchDrawViewwhich is a subclass ofUIViewthat you can draw on - Implemented
clear() - Implemented
exportDrawing() - Implemented
setColor(color: UIColor) - Implemented
setWidth(width: CGFloat)