TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Feb 2017 |
SwiftSwift Version | 3 |
SPMSupports SPM | ✗ |
Maintained by Omar Allaham.
Animated Pulse layer and view
this is an expermintal repo and will be updated soon. you feedback is welcome.
If you prefer not to use CocoaPods dependency manager, you can integrate Pulse into your project manually.
Copy the .swift files into your project or clone and include Pulse repo into your project
let pulseLayer = PulseLayer()
pulseLayer.position = view.center
pulseLayer.count = 10
view.layer.addSublayer(pulseLayer)
pulseLayer.animate()
//when needed
//pulseLayer.stop()
Enjoy the Inspectable parameters
let pulseView = PulseView(frame: frame)
pulseView.count = 10
pulseView.color = UIColor.blue
view.addSubview(pulseView)
pulseView.isAnimating = true
//when needed
//pulseView.isAnimating = false
MIT