We can hide the original image if it's set on the animator, via the animatedImageContainer property
The default animation speed is tweaked
The delegate for UIViewControllerTransitioningDelegate is moved to the animator since it makes it easier and avoids any transition collisions with a view controller that might already have one
Better comments
Removes the need for a consumer to set customTransitionEnabled and avoids and GCD delays to hide the first image while the animation is happening. The animator does it all now.
Improved image transition:
animatedImageContainer
propertyUIViewControllerTransitioningDelegate
is moved to the animator since it makes it easier and avoids any transition collisions with a view controller that might already have onecustomTransitionEnabled
and avoids and GCD delays to hide the first image while the animation is happening. The animator does it all now.