motion-animator-objc
motion-animator-objc copied to clipboard
Add didComplete parameter to the completion blocks
trafficstars
Adding support for explicit animations is trivial because we can do a one-to-one mapping of animations to completion handlers.
Adding support for implicit animations, however, is non-trivial because multiple animations map to the same completion handler. We'll have to implement the animation delegate on each added animation and coalesce the overall completion state into a single invocation of the completion handler.
This would bring our API closer in alignment to UIView's animation APIs.