Skip to content

iaomw/SplittingTriangle

Repository files navigation

SplittingTriangle

iOS port of Splitting triangle.

Installation

Add the SplittingTriangle.h and SplittingTriangle.m source files to your project.

Usage

SplittingTriangle *st = [[SplittingTriangle alloc] initWithFrame:CGRectMake(0, 0, 300, 300)];
    
[st setForeColor:[UIColor colorWithWhite:0.7 alpha:0.7] andBackColor:[UIColor clearColor]];
    
[st setClockwise:YES];
[st setDuration:2.4];
[st setRadius:22];
[st setPaused:NO];

[self.view addSubview:st];

License

MIT license.

Releases

No releases published

Packages

No packages published