Change Log
April 6, 2020 ยท View on GitHub
All notable changes to this project will be documented in this file.
IBAnimatable adheres to Semantic Versioning.
Versions
Next
API breaking changes
N/A
Enhancements
N/A
Bugfixes
N/A
6.1.0
API breaking changes
N/A
Enhancements
- Allow imbricated
AnimationTypeoptions,Arrayand operator+to createcompoundanimation by string. #611 by @phimage - Implement
HashablewithHasher. #616 by @phimage - Add
roundedPolygon, a polygonMaskTypewith corner radius. #619 by @phimage - Add new mask type
kite. #619 by @phimage
Bugfixes
6.0.0
API breaking changes
N/A
Enhancements
- Support Swift 5.0 #603 by @shark-sea
- Update SwiftPM manifest file to support Accio #608 by @Dschee
Bugfixes
N/A
5.2.1
API breaking changes
N/A
Enhancements
N/A
Bugfixes
5.2.0
API breaking changes
N/A
Enhancements
- Allow to create new
compoundanimation by code using operator+, orArray. #559 by @phimage - Add new activity indicators
circleStrokeSpin,circleDashStrokeSpin,gear,tripleGear,heartBeatandtriforce. #561 by @phimage - Add new activity indicator
rupee. #562 by @phimage - Make
AnimatableCollectionViewCellconforming toRotationDesignable#565 by @tbaranes - Add
preferredpresentation modal size. #566 by @phimage - Add
conicalgradient type. #567 by @phimage - Animatable
timingFunctionparameter could now be used with all animation types. #571 by @phimage - Add new activity indicators
newtonCradleandcirclePendulum. #573 by @phimage - Add new mask
roundedto make a rounded rectangle. #575 by @phimage - Support for Swift 4.2. #576 by @djbe
- Upgrade for Xcode 10 #588 by @JakeLin
Bugfixes
- Fix some activity indicator animations . #562 by @phimage
- Fix wrong setted center in UIView after using NatGeo transition. #578 by @edon2005
5.1.0
API breaking changes
N/A
Enhancements
- Add new mask types
.drop,.plusSign,.moon. #519 by @phimage - Add new mask types
.heart,.gear,.ring,.superEllipse. #518 by @phimage - Add support for radial gradient. Currently not working with
startPoint. #527 by @tbaranes - Animate TabBarItem image view when clicking on it. #539 by @phimage
- Add
compoundanimation type to dosequentialorparallelanimations. #520 by @phimage - Add
spinanimation type. #549 by @phimage - Add
insetBymask type. #554 by @phimage - Upgrade to Swift 4.1. #557 by @JakeLin
- Add
ibto support IBAnimatable without interface builder. #528 by @tbaranes
Bugfixes
- Zoom out animation won't override view alpha #545 by @tbaranes
- Fix presented modal view (over context) frame when device orientation changed. #516 by @phimage
- Fix dismissal animation type of AnimatableModalViewController when the type is set in Interface Builder. #526 by @kazyk
- Fix view's borders when using it with corner radius
allSides#530 by @tbaranes - Fix CACurrentMediaTime usage by calling it on the CALayer object with conversion. #541 by @lukas2
5.0.0
API breaking changes
N/A
Enhancements
- Support for Swift 4.0
- Add more screen size ratio to present modal view controller. #512 by @phimage
- Support for Swift 5.0. #603 by @shark-sea
Bugfixes
N/A
4.2.0
API breaking changes
N/A
Enhancements
- Add
TimingFunctionTypeattribute toAnimatableto specifies the speed curve of an animation. #478 by @phimage - Add new mask type
.ellipse. #481 by @phimage - Add
stickOrMoveUpkeyboard translation option when presenting a viewController. #489 by @tbaranes - Add
scale,scaleToandscaleFromanimation types. #494 by @phimage PaddingDesignablenow applies padding to the underlying text, edit, and placeholder rects -- opposed to using aUIViewspacer. #492 by @SD10
Bugfixes
PlaceholderDesignablenow appliesplaceholderColortoPlaceholderdefined in Interface Builder before checking theplaceholderTextproperty. #499 by @SD10- Fixes bug where Interface Builder doesn't recognize the delegate outlet for
UITableViewandUICollectionView. #506 by @SD10
4.1.0
API breaking changes
Enhancements
- Introduce
CustomMaskType, you can now useMaskDesignablewith custom masks. #465 by @lastmove - Add Unit Testing for Project. See issue #434 for current coverage. @SD10
Bugfixes
AnimatableTextFieldwon't override anymore the default border if no custom one set. #457 by tbaranes- Make
placeholderColorworking withplaceholderTextANDplacehodler. It will keep the current priorirty:placeholderText>placehodler. #459 by @tbaranes - Fix
FillDesignableprotocol to setfillColorforUICollectionViewCell. #462 by @SD10 - Fixed
AnimatableTextFieldinterface update when using it programatically #458 by @tbaranes - Replace
CGFloat.piwithCGFloat(Double.pi)forActivityIndicatorShape, which fixes missing activity indicator animations on 32 bit devices. #470 by @broadwaylamb - Fix ignoring the
delayproperty forUIViewanimations #472 by @broadway_lamb
4.0.0
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.AllSidesto.allSides. If you were setting programmatically a cornerSide to your view, you will just have to lowercase the A. #409 by @tbaranesAnimatableSliderinherit fromUISlider. #417 by @phimage- Replace all
SystemAnimatorclasses withSystemTransitionAnimator#427 by @SD10 PresentationDesignablenow supportscontextFrameForPresentationwhich allow you to present a controller with a custom configuration over another instead of being in fullscreen. ImitatesUIModalPresentationStyle.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
AnimatableSliderdesignable. #417 by @phimage - Add
RefreshControlDesignableto makeUIRefreshControlcustomization available in Interface Builder. Currently supported byUITableViewControllerandUITableView. #418 by @phimage and #429 by @tbaranes - Replace all
SystemAnimatorclasses withSystemTransitionAnimator. #427 by @SD10 - Add
GradientDesignabletoDesignableNavigationBar. #437 by @phimage - Add
AnimatableTabBarControllerto 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
transformproperty toCGAffineTransform.identityafter a slide transition completes. #432 by @broadwaylamb - Fixed
{Flip,Turn,Fold}Animatorwhich was resulting in broken transitions. Thanks to@phimage for the fix. #441 by @tbaranes
3.1.3
API breaking changes
None
Enhancements
- New gradient
startPoint:.custom(startX, startY, endX, endY). #380 by @tbaranes - Introducing
borderType, find all the information in the documentation #389 by @tbaranes
Bugfixes
- Fix
slide(.out, *)andsqueeze(.out, *)translation coordinates #379 by @tbaranes - Fix
No such module IBAnimatablewhen attempting to run the Playground #251 and #391 by @emcphersonburke - Fix custom presentation animations #393 by @tbaranes
- Fix border state when trying to reset a valid border #398 by @tbaranes
- Make
PresentationDesignableusable outside of IBAnimatable #402 by @tbaranes
3.1.2
API breaking changes
None
Enhancements
- Add support for corner and shadow on UICollectionViewCell. #368
- Use Swift Enum as key in our internal presentation and transition cache. #360
Bugfixes
- Fix initial
cornerSiderendering issue. #367
3.1.1
API breaking changes
None
Enhancements
None
Bugfixes
- Make
PresentationPresenterManagerandTransitionPresenterManagersharedproperty public again. #364
3.1
API breaking changes
None
Enhancements
- Add
cornerSidetoCornerDesignableto support multiple sides for corner. #356
Bugfixes
None
3.0.1
API breaking changes
None
Enhancements
None
Bugfixes
- Fix
clipsToBoundsissue. #303 - Fix
keyboardTranslationwhen presenting a custom controller
3.0
IBAnimatable 3.0 is the major release to support Swift 3 ๐.
API breaking changes
- This version follows Swift 3 API Design Guidelines and contains a lot of breaking changes from version 2.x. Please check out [IBAnimatable 3.0 Migration Guide](Documentation/IBAnimatable 3.0 Migration Guide.md) for more information about how to migrate your project to 3.0.
Enhancements
Bugfixes
All issues associated with this version can be found using this filter.
2.8.1
API breaking changes
None
Enhancements
Upgrade to Swift 2.3
Bugfixes
None
2.7
API breaking changes
AnimatableStackViewdoesn't conform anymore toBlurDesignableAnimatableScrollViewdoesn't conform anymore toBlurDesignable
Enhancements
- Support for custom presentation, for more information, read the documentation
- Introducing AnimatableActivityIndicatorView to support custom activity indicator animations. Already supporting 31 animations! Take a look at at the full list
Bugfixes
- Fixed
cornerRadiuswhen used with a gradient #268 - Remove previous vibrancy view when adding setting a new vibrancy. Previous bug: all the views was staying in the hierarchy #277
- Fixed "Shadows not working with Mask type" issue #267
2.6
API breaking changes
None
Enhancements
Move to IBAnimatable organization #235
Bugfixes
None
2.5
API breaking changes
None
Enhancements
- Add
vibrancyBlurEffecttoBlurDesignable. Once specify the Vibrancy effect style, all subviews will apply this vibrancy effect #245 - New animations:
ZoomInvertInandZoomInvertOut#249
Bugfixes
None
2.4
API breaking changes
None
Enhancements
- New designable properties for
UITextView: placeholder text and color #227 - Add
AnimatableSlider#228 - Add
AnimatableScrollView#232
Bugfixes
- Use
UIBezierPathto maskCircle, which can fix a bug when uses Circle mask withborderSide#234 - Fix a bug for
Polygonmask when thewidthis longer than theheight. #234 - Fix a crash when the parameters number of
Wavemask is not 3. #234
2.3
API breaking changes
- Change
PanFromLeft,PanFromRight,PanFromTop,PanFromBottom,PanHorizontallyandPanVerticallytoPan(Left),Pan(Right),Pan(Top),Pan(Bottom),Pan(Horizontal)andPan(Vertical)forPangesture transition controller. #125 - Refactor
directiontofromDirectionfor system transition animators. RefactorTransitionFromDirectiontoTransitionDirection. #206 - Refactor
Fade,FadeInandFadeOuttoFade(direction: TransitionDirection)inTransitionAnimationType. UseFade(In)to replaceFadeInand useFade(Out)to replaceFadeOut.#209 - Remove
PresentFadeInSegue,PresentFadeInWithDismissInteractionSegue,PresentFadeOutSegueandPresentFadeOutWithDismissInteractionSegue, usePresentFadeSegueandPresentFadeWithDismissInteractionSegueinstead. #209 - Remove
degreeforSystemRotatesince it only supports 90 degrees. #210
Enhancements
- Add
ScreenEdgePanInteractiveAnimatorto supportScreenEdgePan(Left),ScreenEdgePan(Right),ScreenEdgePan(Top),ScreenEdgePan(Bottom),ScreenEdgePan(Horizontal)andScreenEdgePan(Vertical)forScreenEdgePangesture transition controller. #125 - Support multiple sides for border #168
- Add
ExplodeAnimatorto support Explode transition animation. It supports parametersExplode(xFactor, minAngle, maxAngle), if no specified, the default values areExplode(10, -10, 10). #155 - Add
FoldAnimatorto support Fold transition animation. It supports parametersExplode(direction, nbFolds), if no specified, the default values areFold(Left, 2). #155 - Add
PortalAnimatorto support Portal transition animation. It supports parametersPortal(direction, zoomScale), if no specified, the default values arePortal(Backward, 0.8). #155 - Add
NatGeoAnimatorto support NatGeo transition animation. It supports only a directionNatGeo(direction), if no specified, the default values areNatGeo(Left). #155 - Add
Turnto support Turn transition animation. It supports only a directionTurn(direction), if no specified, the default values areTurn(Left). #155 - Add
CardsAnimatorto support Cards transition animation. It supports parametersCards(direction), if no specified, the default values areCards(Forward). #155 - Add
FlipAnimatorto support Flip transition animation. It supports parametersFlip(direction), if no specified, the default values areFlip(Left). Currently only supportFlip(Left)andFlip(Right). #155 - Add
ContainerTransitionto manage transition animations between twoUIViewControllerin a container - Add
AnimatableCollectionViewCell#167 - Add
PinchInteractiveAnimatorto supportPinch(Close),Pinch(Open)forPinchgesture transition controller. #125 - Add
SlideAnimatorto 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
Parallelogrammask. #207 - Parallelogram Mask support in Maskdesignable - Add
popToRootViewControllersegue for popping to root ViewController of the NavigationController. #212
Bugfixes
- Use
weakfor theviewControllerinInteractiveAnimatorto avoid retain cycle. - Fixed the right image of
SideImageDesignable#176 - Fix a bug to support single side of border for AnimatableTextField #179
AnimatorFactoryand all the***Animatorscan now be used / instantiate outside ofIBAnimatable
2.2
API breaking changes
- Change
SystemPageCurlAnimatortoSystemPageAnimatorto supportSystemPage(Curl)andSystemPage(UnCurl)transition animations.
Enhancements
AnimatableLabelnow conformsBorderDesignable- New transition animations #126:
SystemSuckEffectSystemRippleEffectSystemMoveInSystemPushSystemRevealSystemRotateto support:SystemRotate(90)SystemRotate(90ccw)SystemRotate(180)SystemRotate(180ccw)- => Note: It seems that only
SystemRotate(90)is working as expected.CATransitionissues?
SystemCameraIrisAnimatorto support:SystemCameraIrisSystemCameraIris(HollowOpen)SystemCameraIris(HollowClose)
- Use framework in demo app #149
Bugfixes
- Fix the sided borders issue #150
- Fix the
FromTopandFromBottomdirections in system built-in animations #156
2.1
API breaking changes
- Remove
MaskDesignablepublic methods (#101):- Remove
maskCircle(), useview.maskType = String(MaskType.Circle)instead - Remove
maskStar(_:), useview.maskType = "Star(6)"instead - Remove
maskPolygon(), useview.maskType = String(MaskType.Polygon)instead - Remove
maskTriangle(), useview.maskType = String(MaskType.Triangle)instead - Remove
maskWave(_:_:_:), useview.maskType = "Wave(up, 16, 40)"instead
- Remove
- Improve the options in
TransitionAnimationTypeenum. (#137)- Remove
SystemCubeFromLeft, useSystemCube(Left) - Remove
SystemCubeFromRight, useSystemCube(Right) - Remove
SystemCubeFromTop, useSystemCube(Top) - Remove
SystemCubeFromBottom, useSystemCube(Bottom) - Remove
SystemFlipFromLeft, useSystemFlip(Left) - Remove
SystemFlipFromRight, useSystemFlip(Right) - Remove
SystemFlipFromTop, useSystemFlip(Top) - Remove
SystemFlipFromBottom, useSystemFlip(Bottom)
- Remove
Enhancements
- Support Xcode 7.3 and Swift 2.2
- Configurable mask polygon (sides) #112
- Add
SystemPageCurlAnimatorto supportSystemPageCurlFromTopandSystemPageCurlFromBottomtransition animations #126 AnimatableLabelnow conformsCornerDesignableandFillDesignable- Support Carthage 0.15.2 #131
Bugfixes
- Fixed a bug that was making
GradientDesignablenot filling the dedicated frame #129 - Fixed a bug that was making
MaskDesignablenot filling the dedicated frame
2.0
API breaking changes
- Remove
DesignableViewController, useAnimatableViewControllerinstead.
Enhancements
- New IBAnimatable icon ๐
- Add
AnimatableNavigationControllerto support custom Push and Pop transition animations - Add
AnimatableViewControllerto support custom Present and Dismiss transition animations - Add
SystemCubeAnimatorto supportSystemCubeFromLeft,SystemCubeFromRight,SystemCubeFromTopandSystemCubeFromBottomtransition animations - Add
SystemFlipAnimatorto supportSystemFlipFromLeft,SystemFlipFromRight,SystemFlipFromTopandSystemFlipFromBottomtransition animations - Add
FadeAnimatorto supportFade,FadeInandFadeOuttransition animations - Add
CALayerExtensionto simplify CALayer animations with completion closure. - Add
Navigatorto manage Push and Pop transition animations - Add
Presenterto manage Present and Dismiss transition animations - Add
PresentFadeSegue,PresentFadeInSegueandPresentFadeOutSeguefor Present transition with Fade animations - Add
PresentFadeWithDismissInteractionSegue,PresentFadeInWithDismissInteractionSegueandPresentFadeOutWithDismissInteractionSeguefor Present transition with Fade animations and gesture interactions. - Add
PanInteractiveAnimatorto handle Pan interaction for Dismiss and Pop - Demo App can experiment all transition animations (tap on "Forget Password" button to see)
Bugfixes
- Fix potential crash when using
GradientDesignable - Fix slideIn/Out animations on second screens (e.g. AirPlay)
1.2
Enhancements
- Swift Package Manager support. #5
- Predefined flat colors. #71
- Customise mask draw from interface builder #50 #8 #76:
- Star(6) -> draw star mask with 6 sides.
- Wave(up,50,100) -> draw a wave up mask with 50 as width, and 100 as offset.
- Makes
BorderDesignableusable in playground - Add MoveTo and MoveBy animations #74
Bugfixes
- Fixed
GradientDesignablerotation. #86 - Fixed
BorderDesignableafter rotation. - Fixed mask star drawing bug. #95
- Fixed the border color / width when used with a mask. #95
1.1
API breaking changes
Enhancements
- New animations: Rotate, RotateCCW #51
- New masks: Star, Triangle, Polygon, Wave
- SidebarImage now support right images
- Predefined gradients #24
- iOS8 support #89
Bugfixes
- Fixed left gradient
- Fixed slideOut / slideIn animations #46
1.0.1
Enhancements
- Carthage support - #6
1.0
- Initial release