macOS port of SpinKit, based and inspired by SpinKit-ObjC. Used by Pixea - free image viewer for macOS.
Simply instantiate RTSpinKitView
with the desired style and add to your view hierarchy.
#import <SpinKit/RTSpinKitView.h>
...
RTSpinKitView *spinner = [[RTSpinKitView alloc] initWithStyle:RTSpinKitViewStyleWave];
[self.view addSubview:spinner];
Available styles:
RTSpinKitViewStylePlane
RTSpinKitViewStyleCircleFlip
RTSpinKitViewStyleBounce
RTSpinKitViewStyleWave
RTSpinKitViewStyleWanderingCubes
RTSpinKitViewStylePulse
RTSpinKitViewStyleChasingDots
RTSpinKitViewStyleThreeBounce
RTSpinKitViewStyleCircle
RTSpinKitViewStyle9CubeGrid
RTSpinKitViewStyleWordPress
RTSpinKitViewStyleFadingCircle
RTSpinKitViewStyleFadingCircleAlt
RTSpinKitViewStyleArc
RTSpinKitViewStyleArcAlt
Animations based on SpinKit by Tobias Ahlin.
Initial UIKit port SpinKit-ObjC by Ramon Torres.