Skip to content

4.0.0

Compare
Choose a tag to compare
@tbaranes tbaranes released this 20 Apr 07:20
· 367 commits to master since this release

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