Esqarrouth / EZSwiftExtensions

:smirk: How Swift standard types and classes were supposed to work.
MIT License
3k stars 381 forks source link

feat: change shakeViewForTimes function #432

Open kusakusakusa opened 7 years ago

kusakusakusa commented 7 years ago

Checklist

The previous implementation of shakeViewForTimes(_:) causes the view to be misaligned after the animation has ended. This implementation does not.

I'm not sure how to test this and there were no previous tests to refer to 😅

Khalian commented 7 years ago

I have little context about UIView. @goktugyil Would you mind taking a look ?

Esqarrouth commented 7 years ago

I've never had the misalignment problem. When does it happen?