Releases: Enricoza/EZCustomNavigation
Releases · Enricoza/EZCustomNavigation
v1.2.0
v1.2.0
Improve handling of pan gesture, matching the feeling of default UINavigationController
.
Changed
pan-to-pop
animation completion/cancellation is now decided on gesturevelocity
first and, only in case of low velocity, on progress percentage (#12).pan-to-pop
animationcompletionSpeed
is increased based on gesture velocity at the end of the gesture itself.
v1.1.2
v1.1.2
A patch that includes some fixes and improvements to the default EZPushPopAnimator
to make it more similar to the default Navigation Controller animator.
Changed
EZPushPopAnimator
default duration is increased from0.2
to0.33
.EZPushPopAnimator
usesanimateKeyFrames
to allow usage ofcalculationModeCubic
in non-interactive transitions as it's more similar to the default NavigationController animation.EZPushPopAnimator
now interposes a dimming view between the animating view controllers to imitate the default NavigationController animation (#9).- On the completion of the interactive animation the completion curve is set to
easeInOut
instead of linear and it's removed the completionSpeed (was0.5
).
Fixed
- A glitch that made translucent tabBar cut the pushed view controller during animation in case of
hidesBottomBarWhenPushed = true
(#4).
v1.1.1
v1.1.1
A patch that includes some fixes and improvements to the pan-to-pop
gesture interoperability with other gestures.
Changed
pan-to-pop
gesture now requiresmaximumNumberOfTouches
to be 1.pan-to-pop
gesture won't start if the direction of the pan is wrong
Fixed
- A bug that made really hard to use the delete gesture of table view cells (#5).
Known Issues
- Currently is not possible to activate leadingSwipeActions on UITableViews (#6)
v1.1.0
v1.1.0
A release that includes the first implementation of the Unpop
behavior (disabled by default) and some minor fixes.
Added
UnPop
behavior.EZNavigationConfiguration
with theEZUnpopConfiguration
to enable and configure the unpop behavior.onShouldPopViewController
andonShouldUnPopViewController
methods on UINavigationController extension that can be overridden to potentially excludepop
orunpop
in some cases.EZAnimating
protocol, needed to inform if an animator is currently animating.
Changed
presentingAnimator
anddismissingAnimator
parameters of theEZTransitionCoordinator
needs to be conforming toEZAnimating
protocol too.
Fixed
- A glitch happening when fast popping multiple view controllers (#3).
onShouldPopViewController
default implementation returning true even if the number of view controllers in the navigation stack was less than 2.
Deprecated
addCustomTransitioning(_:onShouldPopViewController)
in favor of the one without theonShouldPopViewController
callback. This method has been moved to the NavigationController extension and can be overrided from there.