You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After some experimentation I came to the conclusion that split view
"transitions" are not meant to be modified directly. They're not even a
thing in itself, really.
Instead, it should be the stack navigation view *within* the split view
that can and should have their transition modified directly.
So I deprecated all the split view modifiers and flattened the 2 stack
modifiers into one: `.navigationTransition`. In addition to this, a
useful runtime warning will let you know when you're holding it wrong.
This drastically simplifies the API surface to a single entry point and
is, I believe, a step in the right direction to easing the entry barrier
for this library.
**NavigationTransitions** is a library that integrates seamlessly with SwiftUI's **Navigation** views, allowing complete customization over **push and pop transitions**!
Instead of reinventing entire navigation components in order to customize its transitions, `NavigationTransitions` ships as a simple set of 2 modifiers that can be applied directly to SwiftUI's very own first-party navigation components.
19
+
Instead of reinventing entire navigation components in order to customize its transitions, `NavigationTransitions` ships with a simple modifier that can be applied directly to SwiftUI's very own first-party navigation component.
0 commit comments