nghialv / MaterialKit

Material design components for iOS written in Swift
MIT License
2.51k stars 290 forks source link

Add removeAllAnimations() function to MKLayer. #28

Closed reesemclean closed 9 years ago

reesemclean commented 9 years ago

I have added a removeAllAnimations() function to MKLayer which removes animations for the circle layer and background layer.

This is particularly useful in prepareForReuse() on MKTableViewCell so that previous animations do not show on scroll.

I added cells to the table view example in order to show this behavior.

nghialv commented 9 years ago

Hi @reesemclean . Thanks for the PR.