IBAnimatable v4.0.0 Release Notes

Release Date: 2017-04-20 // over 5 years ago
  • ๐Ÿ“š Happy to announce IBAnimatable 4.0! The theme of this major release was animations. By focusing on this, we ended with a nice new APIs which make your daily animations even easier to do. Since it introduces breaking changes, you can take a look at the migration guide what change for you. That's not all! This version is also improving masks, presentations, corners, introducing new features such as designable refresh control, animatable tabbar, and of course a few bug fixes. Just take a look at the full list below, this release is huge!

    ๐Ÿšš Thanks to all the contributors who are making IBAnimatable better! Most of credits go to @lastMove and @tbaranes, also thanks to @SD10 and @DanielAsher, @ashchan, @phimage, @mmadjer and @broadwaylamb!

    API breaking changes

    • ๐Ÿ“š Introducing new promise-like animation APIs. Check out the migration guide. #385 by @lastMove and @tbaranes
    • CornerSide's swift3 migration leftovers: renaming .AllSides to .allSides. If you were setting programmatically a cornerSide to your view, you will just have to lowercase the A. #409 by @tbaranes
    • AnimatableSlider inherit from UISlider. #417 by @phimage
    • Replace all SystemAnimator classes with SystemTransitionAnimator #427 by @SD10
    • ๐Ÿ’… PresentationDesignable now supports contextFrameForPresentation which allow you to present a controller with a custom configuration over another instead of being in fullscreen. Imitates UIModalPresentationStyle.currentContext. #385 by @tbaranes
    • Transition Animator classes initializer parameter changed from transitionDuration -> duration. #446 by @SD10

    โœจ Enhancements

    • Conserve custom layer mask when using Animatable* instead of removing them #407 by @DanielAsher
    • โž• Add support for corner on AnimatableTableViewCell. #403 by @tbaranes
    • ๐Ÿ‘‰ Make images of AnimatableSlider designable. #417 by @phimage
    • โž• Add RefreshControlDesignable to make UIRefreshControl customization available in Interface Builder. Currently supported by UITableViewController and UITableView. #418 by @phimage and #429 by @tbaranes
    • Replace all SystemAnimator classes with SystemTransitionAnimator. #427 by @SD10
    • โž• Add GradientDesignable to DesignableNavigationBar. #437 by @phimage
    • โž• Add AnimatableTabBarController to support custom transition animations. #443 by @phimage

    ๐Ÿ›  Bugfixes

    • ๐Ÿ‘‰ Make corner sides case insensitive.
      #394 by @mmadjer
    • Frame is converted to window coordinate space to fix miscalculations in computed values (used with slideOut, ...). #412 by @redent
    • Reset destination view's transform property to CGAffineTransform.identity after a slide transition completes. #432 by @broadwaylamb
    • ๐Ÿ›  Fixed {Flip,Turn,Fold}Animator which was resulting in broken transitions. Thanks to@phimage for the fix. #441 by @tbaranes