motion-animator-objc icon indicating copy to clipboard operation
motion-animator-objc copied to clipboard

Add didComplete parameter to the completion blocks

Open jverkoey opened this issue 7 years ago • 0 comments
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.

jverkoey avatar Nov 30 '17 17:11 jverkoey