Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 640 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 640 Bytes

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