EZSwiftExtensions icon indicating copy to clipboard operation
EZSwiftExtensions copied to clipboard

feat: change shakeViewForTimes function

Open kusakusakusa opened this issue 7 years ago • 2 comments

Checklist

  • [ ] New Extension
  • [ ] New Test
  • [ ] Changed more than one extension, but all changes are related
  • [x] Trivial change (doesn't require changelog)

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 😅

kusakusakusa avatar Jun 08 '17 13:06 kusakusakusa

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

Khalian avatar Jun 08 '17 17:06 Khalian

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

Esqarrouth avatar Jun 12 '17 15:06 Esqarrouth