Fix drag sutters and enable swipe to pop gesture.

Add docs and last tweaks following a self review.
Add constants for max content size and disable splash screen via build settings.
This commit is contained in:
Doug
2022-01-18 16:48:52 +00:00
parent af0785b2bb
commit cf46247e9f
18 changed files with 171 additions and 188 deletions
@@ -24,7 +24,7 @@ enum MockOnboardingSplashScreenScreenState: MockScreenState, CaseIterable {
// A case for each state you want to represent
// with specific, minimal associated data that will allow you
// mock that screen.
case standard
case animated
/// The associated screen
var screenType: Any.Type {
@@ -33,7 +33,7 @@ enum MockOnboardingSplashScreenScreenState: MockScreenState, CaseIterable {
/// A list of screen state definitions
static var allCases: [MockOnboardingSplashScreenScreenState] {
[.standard]
[.animated]
}
/// Generate the view struct for the screen state.