This post describes how to chain repeating UIView animations in Objective-C. However, it requires performSelector
, which doesn't appear to be available in Swift.
How can you chain repeating UIView animations in Swift? The goal is to create an animation to shake/wobble a UIView.