Latest 1.0.0
Homepage https://github.com/iTofu/LCPaintView
License MIT
Platforms ios 7.0, requires ARC
Dependencies Masonry
Authors

Travis
CocoaPods
CocoaPods
CocoaPods
LeoDev

🖌 Paint view for iOS.

LCPaintView

In me the tiger sniffs the rose.

心有猛虎,细嗅蔷薇。

Welcome to visit my blog:https://LeoDev.me

Introduction

🖌 Paint view for iOS.

Installation

CocoaPods

LCPaintView is available on CocoaPods. Just add the following to your project Podfile:

pod "LCPaintView"  # Podfile

Non-CocoaPods

Just drag the LCPaintView folder into your project.

Usage

  • Use by including the following import:

    #import "LCPaintView.h"
  • Demo code:

    LCPaintView *paintView = ({
      LCPaintView *paintView = [[LCPaintView alloc] init];
      paintView.frame = CGRectMake(0, 0, screenSize.width, screenSize.height);
      [self.view insertSubview:paintView atIndex:0];
      paintView;
    });
  • Custom:

    // Properties
    paintView.lineWidth = 10.0f;
    paintView.lineColor = [UIColor redColor];
    
    // Methods
    [paintView clear];
    [paintView undo];

ChangeLog

V 1.0.0

  • Initial Commit.

Support

  • If you have any question, just commit a issue!

  • Mail: echo ZGV2dGlwQDE2My5jb20K | base64 -D

  • Blog: http://LeoDev.me

  • Friendly sponsorship with Alipay or Wechat Pay, thank you!

    Leo

License

MIT License

Latest podspec

{
    "name": "LCPaintView",
    "version": "1.0.0",
    "summary": "Paint view for iOS. Support: http://LeoDev.me",
    "homepage": "https://github.com/iTofu/LCPaintView",
    "license": "MIT",
    "authors": {
        "Leo": "[email protected]"
    },
    "social_media_url": "http://LeoDev.me",
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/iTofu/LCPaintView.git",
        "tag": "1.0.0"
    },
    "source_files": "LCPaintView/**/*.{h,m}",
    "requires_arc": true,
    "dependencies": {
        "Masonry": [
            "~> 1.0.1"
        ]
    }
}

Pin It on Pinterest

Share This