Latest 1.0.4
Homepage https://github.com/knightbat/KBDrawingView
License MIT
Platforms ios 8.0
Authors

A Simple Drawing view in objC using tutsplus tutorial Smooth Freehand Drawing on iOS.

Installation

Manual

Drag and drop KBDrawingView.h and KBDrawingView.m files to your project

CocoaPods

Add this line to your pod file

pod 'KBDrawingView'

Usage

  • Creating drawing view
    self.drawingView = [KBDrawingView alloc] init];
    self.drawingView.delegate = self;
  • Configuration
   self.drawingView.lineColor = [UIColor grayColor];
   self.drawingView.lineWidth = @4;
   self.drawingView.minimumDrawLength = @10;
  • Getting output image
   UIImage *rendredImage = [self.drawingView renderImage];

Latest podspec

{
    "name": "KBDrawingView",
    "version": "1.0.4",
    "summary": "A Simple Drawing view in objC.",
    "platforms": {
        "ios": "8.0"
    },
    "homepage": "https://github.com/knightbat/KBDrawingView",
    "license": "MIT",
    "authors": {
        "Jayakrishnan M": "[email protected]"
    },
    "source": {
        "git": "https://github.com/knightbat/KBDrawingView.git",
        "tag": "1.0.4"
    },
    "source_files": [
        "KBDrawingView",
        "KBDrawingView/*.{h,m}"
    ]
}

Pin It on Pinterest

Share This