2.3
This is a big release, we have added 52 transition animations. After this release transition animation APIs are stable.
We also fixed some bugs and added some designable features.
Great thanks to @tbaranes who ported all transitions from VCTransitionsLibrary and added parameters support for some transition animators.
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 replace
FadeOut`.#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 two UIViewController 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 poping to root ViewController of the NavigationController. #212