A simple customizable radarView written in Swift 3
numberOfWaves
the max number of waves visible at one time.radarColor
color of the radarwavesmaxWaveAlpha
alpha level at which waves startanimationDuration
duration of the animationDurationanimationOptions
allows for animation options such as.autoreverse
.curveEaseIn
.curveEaseOut
.curveEaseInOut
.curveLinear
You will need EasyAnimation v1.1 in order for this to work
make sure to call startAnimation()
in order to start the animation.
Either install using Cocoapods
pod install 'WMRadarView'
Or by just copying the source swift file.
"THE BEERWARE LICENSE" (Revision 42): Jaap Wijnen wrote this code. As long as you retain this notice, you can do whatever you want with this stuff. If we meet someday, and you think this stuff is worth it, you can buy me a beer in return.
Written for Workmoose by Jaap Wijnen