LCPaintView
LCPaintView copied to clipboard
🖌 Paint view for iOS.
LCPaintView
🖌 Paint view for iOS.
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 bGVvZGF4aWFAZ21haWwuY29tCg== | base64 -Dorecho ZGV2dGlwQDE2My5jb20K | base64 -D -
Blog: http://LeoDev.me
-
Donations:
Please note: donation does not imply any type of service contract.
