EZSwiftExtensions
EZSwiftExtensions copied to clipboard
feat: change shakeViewForTimes function
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 😅
I have little context about UIView. @goktugyil Would you mind taking a look ?
I've never had the misalignment problem. When does it happen?