IBAnimatable v2.3 Release Notes

  • API breaking changes

    • ๐Ÿ”„ Change PanFromLeft, PanFromRight, PanFromTop, PanFromBottom, PanHorizontally and PanVertically to Pan(Left), Pan(Right), Pan(Top), Pan(Bottom), Pan(Horizontal) and Pan(Vertical) for Pan gesture transition controller. #125
    • ๐Ÿ”จ Refactor direction to fromDirection for system transition animators. Refactor TransitionFromDirection to TransitionDirection. #206
    • ๐Ÿ”จ Refactor Fade, FadeIn and FadeOut to Fade(direction: TransitionDirection) in TransitionAnimationType. Use Fade(In) to replace FadeIn and use Fade(Out) to replace FadeOut.#209
    • โœ‚ Remove PresentFadeInSegue, PresentFadeInWithDismissInteractionSegue, PresentFadeOutSegue and PresentFadeOutWithDismissInteractionSegue, use PresentFadeSegue and PresentFadeWithDismissInteractionSegue instead. #209
    • โœ‚ Remove degree for SystemRotate since it only supports 90 degrees. #210

    โœจ Enhancements

    • โž• Add ScreenEdgePanInteractiveAnimator to support ScreenEdgePan(Left), ScreenEdgePan(Right), ScreenEdgePan(Top), ScreenEdgePan(Bottom), ScreenEdgePan(Horizontal) and ScreenEdgePan(Vertical) for ScreenEdgePan gesture transition controller. #125
    • ๐Ÿ‘Œ Support multiple sides for border #168
    • โž• Add ExplodeAnimator to support Explode transition animation. It supports parameters Explode(xFactor, minAngle, maxAngle), if no specified, the default values are Explode(10, -10, 10). #155
    • โž• Add FoldAnimator to support Fold transition animation. It supports parameters Explode(direction, nbFolds), if no specified, the default values are Fold(Left, 2). #155
    • โž• Add PortalAnimator to support Portal transition animation. It supports parameters Portal(direction, zoomScale), if no specified, the default values are Portal(Backward, 0.8). #155
    • โž• Add NatGeoAnimator to support NatGeo transition animation. It supports only a direction NatGeo(direction), if no specified, the default values are NatGeo(Left). #155
    • โž• Add Turn to support Turn transition animation. It supports only a direction Turn(direction), if no specified, the default values are Turn(Left). #155
    • โž• Add CardsAnimator to support Cards transition animation. It supports parameters Cards(direction), if no specified, the default values are Cards(Forward). #155
    • โž• Add FlipAnimator to support Flip transition animation. It supports parameters Flip(direction), if no specified, the default values are Flip(Left). Currently only support Flip(Left) and Flip(Right). #155
    • โž• Add ContainerTransition to manage transition animations between two UIViewController in a container
    • โž• Add AnimatableCollectionViewCell #167
    • โž• Add PinchInteractiveAnimator to support Pinch(Close), Pinch(Open) for Pinch gesture transition controller. #125
    • โž• Add SlideAnimator to support Slide transition animation. It supports parameters Slide(direction, fade), if no specified, the default values are Flip(Left). #155
    • โž• Add IBAnimatable Playground to demonstrate transitions and interactions. #204
    • โž• Add Parallelogram mask. #207 - Parallelogram Mask support in Maskdesignable
    • โž• Add popToRootViewController segue for popping to root ViewController of the NavigationController. #212

    ๐Ÿ›  Bugfixes

    • ๐Ÿ‘‰ Use weak for the viewController in InteractiveAnimator to avoid retain cycle.
    • ๐Ÿ›  Fixed the right image of SideImageDesignable #176
    • ๐Ÿ›  Fix a bug to support single side of border for AnimatableTextField #179
    • AnimatorFactory and all the ***Animators can now be used / instantiate outside of IBAnimatable