Skip to content

Latest commit

 

History

History
509 lines (360 loc) · 31 KB

CHANGELOG.md

File metadata and controls

509 lines (360 loc) · 31 KB

Change Log

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

API breaking changes

N/A

Enhancements

N/A

Bugfixes

  • Fix support for older Swift versions for some users. #590 by @djbe

API breaking changes

N/A

Enhancements

  • Allow to create new compound animation by code using operator +, or Array . #559 by @phimage
  • Add new activity indicators circleStrokeSpin, circleDashStrokeSpin, gear, tripleGear, heartBeat and triforce. #561 by @phimage
  • Add new activity indicator rupee. #562 by @phimage
  • Make AnimatableCollectionViewCell conforming to RotationDesignable #565 by @tbaranes
  • Add preferred presentation modal size. #566 by @phimage
  • Add conical gradient type. #567 by @phimage
  • Animatable timingFunction parameter could now be used with all animation types. #571 by @phimage
  • Add new activity indicators newtonCradle and circlePendulum. #573 by @phimage
  • Add new mask rounded to 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

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 compound animation type to do sequential or parallel animations. #520 by @phimage
  • Add spin animation type. #549 by @phimage
  • Add insetBy mask type. #554 by @phimage
  • Upgrade to Swift 4.1. #557 by @JakeLin
  • Add ib to 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

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

API breaking changes

N/A

Enhancements

  • Add TimingFunctionType attribute to Animatable to specifies the speed curve of an animation. #478 by @phimage
  • Add new mask type .ellipse. #481 by @phimage
  • Add stickOrMoveUp keyboard translation option when presenting a viewController. #489 by @tbaranes
  • Add scale, scaleTo and scaleFrom animation types. #494 by @phimage
  • PaddingDesignable now applies padding to the underlying text, edit, and placeholder rects -- opposed to using a UIView spacer. #492 by @SD10

Bugfixes

  • PlaceholderDesignable now applies placeholderColor to Placeholder defined in Interface Builder before checking the placeholderText property. #499 by @SD10
  • Fixes bug where Interface Builder doesn't recognize the delegate outlet for UITableView and UICollectionView. #506 by @SD10

API breaking changes

  • Designable protocols have been changed to class only protocols. #463 by @SD10

Enhancements

  • Introduce Custom MaskType, you can now use MaskDesignable with custom masks. #465 by @lastmove
  • Add Unit Testing for Project. See issue #434 for current coverage. @SD10

Bugfixes

  • AnimatableTextField won't override anymore the default border if no custom one set. #457 by tbaranes
  • Make placeholderColor working with placeholderText AND placehodler. It will keep the current priorirty: placeholderText > placehodler. #459 by @tbaranes
  • Fix FillDesignable protocol to set fillColor for UICollectionViewCell. #462 by @SD10
  • Fixed AnimatableTextField interface update when using it programatically #458 by @tbaranes
  • Replace CGFloat.pi with CGFloat(Double.pi) for ActivityIndicatorShape, which fixes missing activity indicator animations on 32 bit devices. #470 by @broadwaylamb
  • Fix ignoring the delay property for UIView animations #472 by @broadway_lamb

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

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, *) and squeeze(.out, *) translation coordinates #379 by @tbaranes
  • Fix No such module IBAnimatable when 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 PresentationDesignable usable outside of IBAnimatable #402 by @tbaranes

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 cornerSide rendering issue. #367

API breaking changes

None

Enhancements

None

Bugfixes

  • Make PresentationPresenterManager and TransitionPresenterManager shared property public again. #364

API breaking changes

None

Enhancements

  • Add cornerSide to CornerDesignable to support multiple sides for corner. #356

Bugfixes

None


API breaking changes

None

Enhancements

None

Bugfixes

  • Fix clipsToBounds issue. #303
  • Fix keyboardTranslation when presenting a custom controller

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

  • Complete Swift 3 Compatibility #221
  • New Swift enum system #218

Bugfixes

  • Fix borderSides #280
  • Fix blur effect view #302

All issues associated with this version can be found using this filter.


API breaking changes

None

Enhancements

Upgrade to Swift 2.3

Bugfixes

None


API breaking changes

  • AnimatableStackView doesn't conform anymore to BlurDesignable
  • AnimatableScrollView doesn't conform anymore to BlurDesignable

Enhancements

Bugfixes

  • Fixed cornerRadius when 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

API breaking changes

None

Enhancements

Move to IBAnimatable organization #235

Bugfixes

None


API breaking changes

None

Enhancements

  • Add vibrancyBlurEffect to BlurDesignable. Once specify the Vibrancy effect style, all subviews will apply this vibrancy effect #245
  • New animations: ZoomInvertIn and ZoomInvertOut #249

Bugfixes

None


API breaking changes

None

Enhancements

  • New designable properties for UITextView: placeholder text and color #227
  • Add AnimatableSlider #228
  • Add AnimatableScrollView #232

Bugfixes

  • Use UIBezierPath to mask Circle, which can fix a bug when uses Circle mask with borderSide #234
  • Fix a bug for Polygon mask when the width is longer than the height. #234
  • Fix a crash when the parameters number of Wave mask is not 3. #234

API breaking changes

  • Change PanFromLeft, PanFromRight, PanFromTop, PanFromBottom, PanHorizontally and PanVertically to Pan(Left), Pan(Right), Pan(Top), Pan(Bottom), Pan(Horizontal) and Pan(Vertical) for Pan gesture transition controller. #125
  • Refactor direction to fromDirection for system transition animators. Refactor TransitionFromDirection to TransitionDirection. #206
  • Refactor Fade, FadeIn and FadeOut to Fade(direction: TransitionDirection) in TransitionAnimationType. Use Fade(In) to replace FadeIn and use Fade(Out) to replace FadeOut.#209
  • Remove PresentFadeInSegue, PresentFadeInWithDismissInteractionSegue, PresentFadeOutSegue and PresentFadeOutWithDismissInteractionSegue, use PresentFadeSegue and PresentFadeWithDismissInteractionSegue instead. #209
  • Remove degree for SystemRotate since it only supports 90 degrees. #210

Enhancements

  • Add ScreenEdgePanInteractiveAnimator to support ScreenEdgePan(Left), ScreenEdgePan(Right), ScreenEdgePan(Top), ScreenEdgePan(Bottom), ScreenEdgePan(Horizontal) and ScreenEdgePan(Vertical) for ScreenEdgePan gesture transition controller. #125
  • Support multiple sides for border #168
  • Add ExplodeAnimator to support Explode transition animation. It supports parameters Explode(xFactor, minAngle, maxAngle), if no specified, the default values are Explode(10, -10, 10). #155
  • Add FoldAnimator to support Fold transition animation. It supports parameters Explode(direction, nbFolds), if no specified, the default values are Fold(Left, 2). #155
  • Add PortalAnimator to support Portal transition animation. It supports parameters Portal(direction, zoomScale), if no specified, the default values are Portal(Backward, 0.8). #155
  • Add NatGeoAnimator to support NatGeo transition animation. It supports only a direction NatGeo(direction), if no specified, the default values are NatGeo(Left). #155
  • Add Turn to support Turn transition animation. It supports only a direction Turn(direction), if no specified, the default values are Turn(Left). #155
  • Add CardsAnimator to support Cards transition animation. It supports parameters Cards(direction), if no specified, the default values are Cards(Forward). #155
  • Add FlipAnimator to support Flip transition animation. It supports parameters Flip(direction), if no specified, the default values are Flip(Left). Currently only support Flip(Left) and Flip(Right). #155
  • Add ContainerTransition to manage transition animations between two UIViewController in a container
  • Add AnimatableCollectionViewCell #167
  • Add PinchInteractiveAnimator to support Pinch(Close), Pinch(Open) for Pinch gesture transition controller. #125
  • Add SlideAnimator to support Slide transition animation. It supports parameters Slide(direction, fade), if no specified, the default values are Flip(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 the viewController in InteractiveAnimator 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 of IBAnimatable

API breaking changes

  • Change SystemPageCurlAnimator to SystemPageAnimator to support SystemPage(Curl) and SystemPage(UnCurl) transition animations.

Enhancements

  • AnimatableLabel now conforms BorderDesignable
  • New transition animations #126:
    • SystemSuckEffect
    • SystemRippleEffect
    • SystemMoveIn
    • SystemPush
    • SystemReveal
    • SystemRotate to support:
      • SystemRotate(90)
      • SystemRotate(90ccw)
      • SystemRotate(180)
      • SystemRotate(180ccw)
      • => Note: It seems that only SystemRotate(90) is working as expected. CATransition issues?
    • SystemCameraIrisAnimator to support:
      • SystemCameraIris
      • SystemCameraIris(HollowOpen)
      • SystemCameraIris(HollowClose)
  • Use framework in demo app #149

Bugfixes

  • Fix the sided borders issue #150
  • Fix the FromTop and FromBottom directions in system built-in animations #156

API breaking changes

  • Remove MaskDesignable public methods (#101):
    • Remove maskCircle(), use view.maskType = String(MaskType.Circle) instead
    • Remove maskStar(_:), use view.maskType = "Star(6)" instead
    • Remove maskPolygon(), use view.maskType = String(MaskType.Polygon) instead
    • Remove maskTriangle(), use view.maskType = String(MaskType.Triangle) instead
    • Remove maskWave(_:_:_:), use view.maskType = "Wave(up, 16, 40)" instead
  • Improve the options in TransitionAnimationType enum. (#137)
    • Remove SystemCubeFromLeft, use SystemCube(Left)
    • Remove SystemCubeFromRight, use SystemCube(Right)
    • Remove SystemCubeFromTop, use SystemCube(Top)
    • Remove SystemCubeFromBottom, use SystemCube(Bottom)
    • Remove SystemFlipFromLeft, use SystemFlip(Left)
    • Remove SystemFlipFromRight, use SystemFlip(Right)
    • Remove SystemFlipFromTop, use SystemFlip(Top)
    • Remove SystemFlipFromBottom, use SystemFlip(Bottom)

Enhancements

  • Support Xcode 7.3 and Swift 2.2
  • Configurable mask polygon (sides) #112
  • Add SystemPageCurlAnimator to support SystemPageCurlFromTop and SystemPageCurlFromBottom transition animations #126
  • AnimatableLabel now conforms CornerDesignable and FillDesignable
  • Support Carthage 0.15.2 #131

Bugfixes

  • Fixed a bug that was making GradientDesignable not filling the dedicated frame #129
  • Fixed a bug that was making MaskDesignable not filling the dedicated frame

API breaking changes

  • Remove DesignableViewController, use AnimatableViewController instead.

Enhancements

  • New IBAnimatable icon 🎊
  • Add AnimatableNavigationController to support custom Push and Pop transition animations
  • Add AnimatableViewController to support custom Present and Dismiss transition animations
  • Add SystemCubeAnimator to support SystemCubeFromLeft, SystemCubeFromRight, SystemCubeFromTop and SystemCubeFromBottom transition animations
  • Add SystemFlipAnimator to support SystemFlipFromLeft, SystemFlipFromRight, SystemFlipFromTop and SystemFlipFromBottom transition animations
  • Add FadeAnimator to support Fade, FadeIn and FadeOut transition animations
  • Add CALayerExtension to simplify CALayer animations with completion closure.
  • Add Navigator to manage Push and Pop transition animations
  • Add Presenter to manage Present and Dismiss transition animations
  • Add PresentFadeSegue, PresentFadeInSegue and PresentFadeOutSegue for Present transition with Fade animations
  • Add PresentFadeWithDismissInteractionSegue, PresentFadeInWithDismissInteractionSegue and PresentFadeOutWithDismissInteractionSegue for Present transition with Fade animations and gesture interactions.
  • Add PanInteractiveAnimator to 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)

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 BorderDesignable usable in playground
  • Add MoveTo and MoveBy animations #74

Bugfixes

  • Fixed GradientDesignable rotation. #86
  • Fixed BorderDesignable after rotation.
  • Fixed mask star drawing bug. #95
  • Fixed the border color / width when used with a mask. #95

API breaking changes

  • Remove DesignableGradientView, use AnimatableView to configure gradient. #81 and #86

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

Enhancements

  • Carthage support - #6

  • Initial release