IBAnimatable v2.3 Release Notes
-
API breaking changes
- ๐ Change
PanFromLeft
,PanFromRight
,PanFromTop
,PanFromBottom
,PanHorizontally
andPanVertically
toPan(Left)
,Pan(Right)
,Pan(Top)
,Pan(Bottom)
,Pan(Horizontal)
andPan(Vertical)
forPan
gesture transition controller. #125 - ๐จ Refactor
direction
tofromDirection
for system transition animators. RefactorTransitionFromDirection
toTransitionDirection
. #206 - ๐จ Refactor
Fade
,FadeIn
andFadeOut
toFade(direction: TransitionDirection)
inTransitionAnimationType
. UseFade(In)
to replaceFadeIn
and useFade(Out)
to replaceFadeOut
.#209 - โ Remove
PresentFadeInSegue
,PresentFadeInWithDismissInteractionSegue
,PresentFadeOutSegue
andPresentFadeOutWithDismissInteractionSegue
, usePresentFadeSegue
andPresentFadeWithDismissInteractionSegue
instead. #209 - โ Remove
degree
forSystemRotate
since it only supports 90 degrees. #210
โจ Enhancements
- โ Add
ScreenEdgePanInteractiveAnimator
to supportScreenEdgePan(Left)
,ScreenEdgePan(Right)
,ScreenEdgePan(Top)
,ScreenEdgePan(Bottom)
,ScreenEdgePan(Horizontal)
andScreenEdgePan(Vertical)
forScreenEdgePan
gesture transition controller. #125 - ๐ Support multiple sides for border #168
- โ Add
ExplodeAnimator
to support Explode transition animation. It supports parametersExplode(xFactor, minAngle, maxAngle)
, if no specified, the default values areExplode(10, -10, 10)
. #155 - โ Add
FoldAnimator
to support Fold transition animation. It supports parametersExplode(direction, nbFolds)
, if no specified, the default values areFold(Left, 2)
. #155 - โ Add
PortalAnimator
to support Portal transition animation. It supports parametersPortal(direction, zoomScale)
, if no specified, the default values arePortal(Backward, 0.8)
. #155 - โ Add
NatGeoAnimator
to support NatGeo transition animation. It supports only a directionNatGeo(direction)
, if no specified, the default values areNatGeo(Left)
. #155 - โ Add
Turn
to support Turn transition animation. It supports only a directionTurn(direction)
, if no specified, the default values areTurn(Left)
. #155 - โ Add
CardsAnimator
to support Cards transition animation. It supports parametersCards(direction)
, if no specified, the default values areCards(Forward)
. #155 - โ Add
FlipAnimator
to support Flip transition animation. It supports parametersFlip(direction)
, if no specified, the default values areFlip(Left)
. Currently only supportFlip(Left)
andFlip(Right)
. #155 - โ Add
ContainerTransition
to manage transition animations between twoUIViewController
in a container - โ Add
AnimatableCollectionViewCell
#167 - โ Add
PinchInteractiveAnimator
to supportPinch(Close)
,Pinch(Open)
forPinch
gesture transition controller. #125 - โ Add
SlideAnimator
to support Slide transition animation. It supports parametersSlide(direction, fade)
, if no specified, the default values areFlip(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 theviewController
inInteractiveAnimator
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 ofIBAnimatable
- ๐ Change