/ALThreeCircleSpinner

A pulsing spinner view written in swift

Primary LanguageSwiftMIT LicenseMIT

ALThreeCircleSpinner

A pulsing spinner view written in swift

Image

Usage

// Create your spinner

let spinner = ALThreeCircleSpinner(frame: CGRectMake(0,0,44,44))

addSubview(spinner)

// And thats it, the spinner will start automagically

To stop the spinner after its started

spinner.stopAnimating()

To start it again

spinner.startAnimating()

You can control the color of the spinner using the color property and you can set it to stay visible when animation is stopped using the hidesWhenStopped property

Attribution

This spinner is based on the work in the SpinKit project

License

ALThreeCircleSpinner is available under the MIT license. See the LICENSE file for more info.