-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecate split view modifiers (#29)
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.
- Loading branch information
Showing
4 changed files
with
81 additions
and
252 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.