Skip to content

saiday/SpinningDiskView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to use

Create SpinningDiskView programmatically or assign SpinningDiskView as your View's custom class.

SpinningDiskView *spinningDiskView =[[SpinningDiskView alloc] initWithFrame:CGRectMake(artWorkX, 0.0, leftSize, leftSize)];
[spinningDiskView setImage:image];

That's it.

Control the rotation

- (void)setRotaion:(BOOL)isRotation;
- (void)toggleRotation;
- (void)startRotation;
- (void)stopRotation;

Pick one that suits your requirements.

WTFPL LICENSE

About

Disk is the romance of the 20 century.

Resources

License

Stars

Watchers

Forks

Packages

No packages published