Elegant transition library for iOS & tvOS
anchorPoint
support for transitioning a76e9f6dbeefb530743994634d37235e59401911Maintainance Pre-Swift 5 release.
New maintainers
The hidden state of subviews are now taken into account in optimized snapshot type for UIImageView
.
#521 by @ManueGE
This release fixes a retain cycle caused by strong references to delegates.
Thanks to @mkieselmann for contributing to this release ππ₯π―
previousNavigationDelegate
and previousTabBarDelegate
.
#516 by @mkieselmann
This version fixes a few bugs related to animations and improves handling of UINavigationController
delegate events and the ability to provide completion blocks for basic transition methods.
Thanks to @lkzhao, @2blane, @kartikthapar, and @bradphilips for contributing to this release πͺπ―π₯
dismissViewController
and replaceViewController
methods.
#456 by @kartikthapar
UINavigationController
delegate to handle delegate events.
#430 by @bradphilips
add HeroTransitionDelegate
for observing transition state and progress
add ability to change target state during interactive transition. https://github.com/lkzhao/Hero/issues/322
Just call the following method before calling finish(animate:)
and provide the target state similar to apply(modifiers:, to:)
Hero.shared.changeTarget(modifiers:, to:)
for example:
someView.hero.modifiers = [.translate(x: 100)]
// when you want to finish interactive transition
Hero.shared.changeTarget(modifiers:[.translate(x: -100)], to: someView)
Hero.shared.finish()
// this will animate someView to the state of `.translate(x: -100)` instead of `.translate(x: 100)`
a number of bug fixes and improvements:
view.heroID -> view.hero.id
view.heroModifiers -> view.hero.modifiers
// etc..
hideButtonBarOnPush