Pulsing Layout Animation in iOS
Add YQPulsingLayer.swift into your project in Xcode
In your code:
// declare a pulsing layer
var pulsingLayer = YQPulsingLayer()
// place the pulsing layer in the center the object view
pulsingLayer.position = objectView.center
// add the pulsing layer to the view
view.layer.insertSublayer(pulsingLayer, below: objectView.layer)
- Fork it.
- Create your feature branch (git checkout -b new-feature).
- Commit your changes (git commit -am 'Added new-feature').
- Push to the branch (git push origin new-feature).
- Create new Pull Request.