Skip to content
This is a custom view where you can draw shape or draw text with animation.
Objective-C Perl
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Classes
DrawContent.xcodeproj
.DS_Store
DrawContent-Info.plist
DrawContentView.h
DrawContentView.m
DrawContentViewController.xib
DrawContent_Prefix.pch
LICENSE
MainWindow.xib
README.md
main.m
screenshot.png

README.md

DrawContent

This is a custom view where you can draw shape or draw text with animation.

[Sample for splash screen] (http://vimeo.com/54602798 "SplashView") and [password check] (https://vimeo.com/54601584 "PasswordCheck")

![Screenshot] (http://nikhilgohil11.com/github/Screenshot.png)

How to use

#import "DrawContent.h"

For shape:

DrawContentView *drawContent = [[DrawContentView alloc] initWithFrame:CGRectMake(x, y, width, height)];

drawContent.shapeName = @"drawQuadCurve"; //available shapes (Right , Cancel, Pentagon, Arc, Cubic curve, Quad curve)

drawContent.lineSize = 2.1f;

drawContent.lineColor = [UIColor blackColor];

[scrollWithPaging addSubview:drawContent];

[drawContent startAnimationWithDuration:2.5f];

For text:

DrawContentView *drawContent = [[DrawContentView alloc] initWithFrame:CGRectMake(x, y, width, height)];

drawContent.lineSize = 2.1f;

drawContent.messageText = @"raw engineering";

drawContent.fontTextSize = 23.0f;

drawContent.lineColor = [UIColor blackColor];

[scrollWithPaging addSubview:drawContent3];

[drawContent3 startAnimationWithDuration:2.5f];

Lincense

[MIT License] (http://raweng.mit-license.org/ "MIT License")

You can’t perform that action at this time.