A pulsing spinner view written in swift
// 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
This spinner is based on the work in the SpinKit project
ALThreeCircleSpinner is available under the MIT license. See the LICENSE file for more info.