Latest 1.0.3
Homepage https://github.com/kakerucode/TouchDrawView
License MIT
Platforms ios 9.0, requires ARC
Frameworks UIKit
Authors

A view with drawing functions. Include smooth path,rect,line,eraser and set drawing line alpha.

Usage

Import the folder TouchDrawView to your project or use CocoaPods.
Than you can create TouchDrawView from IB or programmatically init it in your code.

CocoaPods

To install CocoaPods, run:

$ gem install cocoapods

Then create a Podfile with the following contents:

platform :ios, '10.0'
use_frameworks!

target 'YOUR_TARGET_NAME' do
pod 'TouchDrawView'
end

Finally, run the following command to install it:

$ pod install

Freature

  • Draw path, line, rectangle, ellipse on image
  • Eraser
  • Undo / Redo
  • Multiple color
  • Multiple width of lines
  • Multiple alpha values
  • Export the drawn image.

Requirement

swift 3.2 or later Xcode 9.0 or later

Latest podspec

{
    "name": "TouchDrawView",
    "version": "1.0.3",
    "summary": "A view with drawing functions. Include smooth path,rect,line,eraser and set drawing line alpha.",
    "homepage": "https://github.com/kakerucode/TouchDrawView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Kakeru": "[email protected]"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source": {
        "git": "https://github.com/kakerucode/TouchDrawView.git",
        "tag": "1.0.3"
    },
    "source_files": "TouchDrawView/**",
    "frameworks": "UIKit",
    "requires_arc": true,
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This