Latest 2.0
Homepage https://github.com/daihase/Sketch
License MIT
Platforms ios 9.2
Authors
Sketch Logo

Sketch

Build Status
platforms
License
Language: Swift 4.0
CocoaPods

Sketch has the basic functions for drawing from the beginning. Anyone can easily create drawing iOS Applications.

※ Below is the image of app actually made using Sketch.

Sketch_animation1
Sketch_animation2
Sketch_animation3

:memo: Features

  • [x] Pen tool
  • [x] Eraser tool
  • [x] Stamp tool
  • [x] Fill
  • [x] Undo / Redo
  • [x] Draw on Camera / Gallery image
  • [x] Multiple colors can be set
  • [x] Multiple width can be set
  • [x] Multiple alpha can be set
  • [x] Multiple tools (Line, Arrow, Rectangle, Ellipse, Star)
  • [x] Multiple Pen Filters (Neon, Blur)

:pencil2: Requirements

  • Xcode 9.0+
  • Swift 4.0+ (Swift 4.2 is ready :thumbsup:)

:pencil2: Installation

Using CocoaPods

Sketch is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'Sketch'

And run pod install

:pencil2: How to use

Using IB/Storyboards:

Only 3 steps needed to use SketchView

1. Set UIView on Storyboard.

2. Open Inspector and enter SketchView in the Class field of Custom Class.

3. Then just connect SketchView to UIViewController as usual.

Sketch Logo

Using code:

1. Import Sketch in proper place.

import Sketch

2. Create SketchView, and addSubview to the view you want to set.

let sketchView = SketchView(frame:
    CGRect(x: 0,
           y: 0,
           width: UIScreen.main.bounds.width,
           height: UIScreen.main.bounds.height
    )
)

self.view.addSubview(sketchView)

:ok_hand: Most of the functions are implemented in the Example Application. Please see that for details.

:pencil2: License

I am using Example Application icon from Freepik. :point_right: Designed by Freepik and distributed by Flaticon

Sketch is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "Sketch",
    "version": "2.0",
    "license": "MIT",
    "homepage": "https://github.com/daihase/Sketch",
    "authors": {
        "daihase": "[email protected]"
    },
    "summary": "Just placing, anyone can make drawing application.",
    "source": {
        "git": "https://github.com/daihase/Sketch.git",
        "tag": "2.0"
    },
    "swift_version": "4.2",
    "platforms": {
        "ios": "9.2"
    },
    "source_files": "Sketch/Classes/**/*"
}

Pin It on Pinterest

Share This