From 47ae808661ce81016db4d64f10b46e10dab8f92c Mon Sep 17 00:00:00 2001 From: David Roman <2538074+davdroman@users.noreply.github.com> Date: Tue, 6 Jun 2023 00:48:55 +0100 Subject: [PATCH] wip --- Sources/ViewTypes/Button.swift | 1 + Sources/ViewTypes/ColorPicker.swift | 2 ++ Sources/ViewTypes/DatePicker.swift | 2 ++ Sources/ViewTypes/DatePickerWithCompactStyle.swift | 2 ++ Sources/ViewTypes/DatePickerWithFieldStyle.swift | 1 + Sources/ViewTypes/DatePickerWithGraphicalStyleType.swift | 2 ++ Sources/ViewTypes/DatePickerWithStepperFieldStyle.swift | 1 + Sources/ViewTypes/DatePickerWithWheelStyle.swift | 1 + Sources/ViewTypes/Form.swift | 2 ++ Sources/ViewTypes/FormWithGroupedStyle.swift | 3 +++ Sources/ViewTypes/List.swift | 3 +++ Sources/ViewTypes/ListCell.swift | 3 +++ Sources/ViewTypes/ListWithBorderedStyle.swift | 1 + Sources/ViewTypes/ListWithGroupedStyle.swift | 2 ++ Sources/ViewTypes/ListWithInsetGroupedStyle.swift | 1 + Sources/ViewTypes/ListWithInsetStyle.swift | 2 ++ Sources/ViewTypes/ListWithSidebarStyle.swift | 2 ++ Sources/ViewTypes/NavigationSplitView.swift | 3 +++ Sources/ViewTypes/NavigationStack.swift | 2 ++ Sources/ViewTypes/NavigationViewWithColumnsStyle.swift | 3 +++ Sources/ViewTypes/NavigationViewWithStackStyle.swift | 2 ++ Sources/ViewTypes/PickerWithMenuStyle.swift | 1 + Sources/ViewTypes/PickerWithSegmentedStyle.swift | 3 +++ Sources/ViewTypes/PickerWithWheelStyle.swift | 1 + Sources/ViewTypes/ProgressViewWithCircularStyle.swift | 3 +++ Sources/ViewTypes/ProgressViewWithLinearStyle.swift | 3 +++ Sources/ViewTypes/ScrollView.swift | 3 +++ Sources/ViewTypes/SearchField.swift | 2 ++ Sources/ViewTypes/Slider.swift | 2 ++ Sources/ViewTypes/Stepper.swift | 2 ++ Sources/ViewTypes/TabView.swift | 3 +++ Sources/ViewTypes/TabViewWithPageStyle.swift | 2 ++ Sources/ViewTypes/Table.swift | 2 ++ Sources/ViewTypes/TextEditor.swift | 2 ++ Sources/ViewTypes/TextField.swift | 3 +++ Sources/ViewTypes/TextFieldWithVerticalAxis.swift | 3 +++ Sources/ViewTypes/Toggle.swift | 2 ++ Sources/ViewTypes/ToggleWithButtonStyle.swift | 1 + Sources/ViewTypes/ToggleWithCheckboxStyle.swift | 1 + Sources/ViewTypes/ToggleWithSwitchStyle.swift | 2 ++ Sources/ViewTypes/View.swift | 2 ++ 41 files changed, 84 insertions(+) diff --git a/Sources/ViewTypes/Button.swift b/Sources/ViewTypes/Button.swift index 5cb94cf..7181086 100644 --- a/Sources/ViewTypes/Button.swift +++ b/Sources/ViewTypes/Button.swift @@ -15,6 +15,7 @@ extension macOSViewVersion { public static let v11 = Self(for: .v11) public static let v12 = Self(for: .v12) public static let v13 = Self(for: .v13) + public static let v14 = Self(for: .v14) } #endif #endif diff --git a/Sources/ViewTypes/ColorPicker.swift b/Sources/ViewTypes/ColorPicker.swift index 943cd75..97f6547 100644 --- a/Sources/ViewTypes/ColorPicker.swift +++ b/Sources/ViewTypes/ColorPicker.swift @@ -17,6 +17,7 @@ extension iOSViewVersion { public static let v14 = Self(for: .v14) public static let v15 = Self(for: .v15) public static let v16 = Self(for: .v16) + public static let v17 = Self(for: .v17) } #elseif canImport(AppKit) @available(macOS 11, *) @@ -26,6 +27,7 @@ extension macOSViewVersion { public static let v11 = Self(for: .v11) public static let v12 = Self(for: .v12) public static let v13 = Self(for: .v13) + public static let v14 = Self(for: .v14) } #endif #endif diff --git a/Sources/ViewTypes/DatePicker.swift b/Sources/ViewTypes/DatePicker.swift index 0f9e37a..bd4ac0c 100644 --- a/Sources/ViewTypes/DatePicker.swift +++ b/Sources/ViewTypes/DatePicker.swift @@ -15,6 +15,7 @@ extension iOSViewVersion { public static let v14 = Self(for: .v14) public static let v15 = Self(for: .v15) public static let v16 = Self(for: .v16) + public static let v17 = Self(for: .v17) } #elseif canImport(AppKit) extension macOSViewVersion { @@ -22,6 +23,7 @@ extension macOSViewVersion { public static let v11 = Self(for: .v11) public static let v12 = Self(for: .v12) public static let v13 = Self(for: .v13) + public static let v14 = Self(for: .v14) } #endif #endif diff --git a/Sources/ViewTypes/DatePickerWithCompactStyle.swift b/Sources/ViewTypes/DatePickerWithCompactStyle.swift index b6d9a97..efc36cf 100644 --- a/Sources/ViewTypes/DatePickerWithCompactStyle.swift +++ b/Sources/ViewTypes/DatePickerWithCompactStyle.swift @@ -20,6 +20,7 @@ extension iOSViewVersion { public static let v14 = Self(for: .v14) public static let v15 = Self(for: .v15) public static let v16 = Self(for: .v16) + public static let v17 = Self(for: .v17) } #elseif canImport(AppKit) && !targetEnvironment(macCatalyst) extension macOSViewVersion { @@ -29,6 +30,7 @@ extension macOSViewVersion { public static let v11 = Self(for: .v11) public static let v12 = Self(for: .v12) public static let v13 = Self(for: .v13) + public static let v14 = Self(for: .v14) } #endif #endif diff --git a/Sources/ViewTypes/DatePickerWithFieldStyle.swift b/Sources/ViewTypes/DatePickerWithFieldStyle.swift index a5d04ac..85acc64 100644 --- a/Sources/ViewTypes/DatePickerWithFieldStyle.swift +++ b/Sources/ViewTypes/DatePickerWithFieldStyle.swift @@ -19,6 +19,7 @@ extension macOSViewVersion { public static let v11 = Self(for: .v11) public static let v12 = Self(for: .v12) public static let v13 = Self(for: .v13) + public static let v14 = Self(for: .v14) } #endif #endif diff --git a/Sources/ViewTypes/DatePickerWithGraphicalStyleType.swift b/Sources/ViewTypes/DatePickerWithGraphicalStyleType.swift index 7ef7eab..f8a328f 100644 --- a/Sources/ViewTypes/DatePickerWithGraphicalStyleType.swift +++ b/Sources/ViewTypes/DatePickerWithGraphicalStyleType.swift @@ -20,6 +20,7 @@ extension iOSViewVersion { public static let v14 = Self(for: .v14) public static let v15 = Self(for: .v15) public static let v16 = Self(for: .v16) + public static let v17 = Self(for: .v17) } #elseif canImport(AppKit) && !targetEnvironment(macCatalyst) extension macOSViewVersion { @@ -27,6 +28,7 @@ extension macOSViewVersion { public static let v11 = Self(for: .v11) public static let v12 = Self(for: .v12) public static let v13 = Self(for: .v13) + public static let v14 = Self(for: .v14) } #endif #endif diff --git a/Sources/ViewTypes/DatePickerWithStepperFieldStyle.swift b/Sources/ViewTypes/DatePickerWithStepperFieldStyle.swift index 690748f..8d9236c 100644 --- a/Sources/ViewTypes/DatePickerWithStepperFieldStyle.swift +++ b/Sources/ViewTypes/DatePickerWithStepperFieldStyle.swift @@ -19,6 +19,7 @@ extension macOSViewVersion { public static let v11 = Self(for: .v11) public static let v12 = Self(for: .v12) public static let v13 = Self(for: .v13) + public static let v14 = Self(for: .v14) } #endif #endif diff --git a/Sources/ViewTypes/DatePickerWithWheelStyle.swift b/Sources/ViewTypes/DatePickerWithWheelStyle.swift index 991ac17..ae84ab1 100644 --- a/Sources/ViewTypes/DatePickerWithWheelStyle.swift +++ b/Sources/ViewTypes/DatePickerWithWheelStyle.swift @@ -19,6 +19,7 @@ extension iOSViewVersion { public static let v14 = Self(for: .v14) public static let v15 = Self(for: .v15) public static let v16 = Self(for: .v16) + public static let v17 = Self(for: .v17) } #endif #endif diff --git a/Sources/ViewTypes/Form.swift b/Sources/ViewTypes/Form.swift index cf7a70f..f38bae2 100644 --- a/Sources/ViewTypes/Form.swift +++ b/Sources/ViewTypes/Form.swift @@ -18,6 +18,7 @@ extension iOSViewVersion { extension iOSViewVersion { public static let v16 = Self(for: .v16) + public static let v17 = Self(for: .v17) } extension tvOSViewVersion { @@ -25,6 +26,7 @@ extension tvOSViewVersion { public static let v14 = Self(for: .v14) public static let v15 = Self(for: .v15) public static let v16 = Self(for: .v16) + public static let v17 = Self(for: .v17) } #endif #endif diff --git a/Sources/ViewTypes/FormWithGroupedStyle.swift b/Sources/ViewTypes/FormWithGroupedStyle.swift index a8b333d..09800f9 100644 --- a/Sources/ViewTypes/FormWithGroupedStyle.swift +++ b/Sources/ViewTypes/FormWithGroupedStyle.swift @@ -24,6 +24,7 @@ extension iOSViewVersion { extension iOSViewVersion { public static let v16 = Self(for: .v16) + public static let v17 = Self(for: .v17) } extension tvOSViewVersion { @@ -34,6 +35,7 @@ extension tvOSViewVersion { @available(*, unavailable, message: ".formStyle(.grouped) isn't available on tvOS 15") public static let v15 = Self.unavailable() public static let v16 = Self(for: .v16) + public static let v17 = Self(for: .v17) } #elseif canImport(AppKit) extension macOSViewVersion { @@ -44,5 +46,6 @@ extension macOSViewVersion { @available(*, unavailable, message: ".formStyle(.grouped) isn't available on macOS 12") public static let v12 = Self.unavailable() public static let v13 = Self(for: .v13) + public static let v14 = Self(for: .v14) } #endif diff --git a/Sources/ViewTypes/List.swift b/Sources/ViewTypes/List.swift index a3bbdb1..74f54b5 100644 --- a/Sources/ViewTypes/List.swift +++ b/Sources/ViewTypes/List.swift @@ -22,6 +22,7 @@ extension iOSViewVersion { extension iOSViewVersion { public static let v16 = Self(for: .v16) + public static let v17 = Self(for: .v17) } extension tvOSViewVersion { @@ -29,6 +30,7 @@ extension tvOSViewVersion { public static let v14 = Self(for: .v14) public static let v15 = Self(for: .v15) public static let v16 = Self(for: .v16) + public static let v17 = Self(for: .v17) } #elseif canImport(AppKit) extension macOSViewVersion { @@ -36,5 +38,6 @@ extension macOSViewVersion { public static let v11 = Self(for: .v11) public static let v12 = Self(for: .v12) public static let v13 = Self(for: .v13) + public static let v14 = Self(for: .v14) } #endif diff --git a/Sources/ViewTypes/ListCell.swift b/Sources/ViewTypes/ListCell.swift index 8f5e3de..396f65d 100644 --- a/Sources/ViewTypes/ListCell.swift +++ b/Sources/ViewTypes/ListCell.swift @@ -19,6 +19,7 @@ extension iOSViewVersion { extension iOSViewVersion { public static let v16 = Self(for: .v16) + public static let v17 = Self(for: .v17) } extension tvOSViewVersion { @@ -26,6 +27,7 @@ extension tvOSViewVersion { public static let v14 = Self(for: .v14) public static let v15 = Self(for: .v15) public static let v16 = Self(for: .v16) + public static let v17 = Self(for: .v17) } #elseif canImport(AppKit) extension macOSViewVersion { @@ -33,5 +35,6 @@ extension macOSViewVersion { public static let v11 = Self(for: .v11) public static let v12 = Self(for: .v12) public static let v13 = Self(for: .v13) + public static let v14 = Self(for: .v14) } #endif diff --git a/Sources/ViewTypes/ListWithBorderedStyle.swift b/Sources/ViewTypes/ListWithBorderedStyle.swift index 4136a1a..f64ffc2 100644 --- a/Sources/ViewTypes/ListWithBorderedStyle.swift +++ b/Sources/ViewTypes/ListWithBorderedStyle.swift @@ -21,6 +21,7 @@ extension macOSViewVersion { public static let v11 = Self.unavailable() public static let v12 = Self(for: .v12) public static let v13 = Self(for: .v13) + public static let v14 = Self(for: .v14) } #endif #endif diff --git a/Sources/ViewTypes/ListWithGroupedStyle.swift b/Sources/ViewTypes/ListWithGroupedStyle.swift index b96fab0..7661b5e 100644 --- a/Sources/ViewTypes/ListWithGroupedStyle.swift +++ b/Sources/ViewTypes/ListWithGroupedStyle.swift @@ -22,6 +22,7 @@ extension iOSViewVersion { extension iOSViewVersion { public static let v16 = Self(for: .v16) + public static let v17 = Self(for: .v17) } extension tvOSViewVersion { @@ -29,6 +30,7 @@ extension tvOSViewVersion { public static let v14 = Self(for: .v14) public static let v15 = Self(for: .v15) public static let v16 = Self(for: .v16) + public static let v17 = Self(for: .v17) } #endif #endif diff --git a/Sources/ViewTypes/ListWithInsetGroupedStyle.swift b/Sources/ViewTypes/ListWithInsetGroupedStyle.swift index b40d282..5d6f2c3 100644 --- a/Sources/ViewTypes/ListWithInsetGroupedStyle.swift +++ b/Sources/ViewTypes/ListWithInsetGroupedStyle.swift @@ -23,6 +23,7 @@ extension iOSViewVersion { extension iOSViewVersion { public static let v16 = Self(for: .v16) + public static let v17 = Self(for: .v17) } #endif #endif diff --git a/Sources/ViewTypes/ListWithInsetStyle.swift b/Sources/ViewTypes/ListWithInsetStyle.swift index 9a09fd6..2e33b2e 100644 --- a/Sources/ViewTypes/ListWithInsetStyle.swift +++ b/Sources/ViewTypes/ListWithInsetStyle.swift @@ -23,6 +23,7 @@ extension iOSViewVersion { extension iOSViewVersion { public static let v16 = Self(for: .v16) + public static let v17 = Self(for: .v17) } #elseif canImport(AppKit) extension macOSViewVersion { @@ -31,6 +32,7 @@ extension macOSViewVersion { public static let v11 = Self(for: .v11) public static let v12 = Self(for: .v12) public static let v13 = Self(for: .v13) + public static let v14 = Self(for: .v14) } #endif #endif diff --git a/Sources/ViewTypes/ListWithSidebarStyle.swift b/Sources/ViewTypes/ListWithSidebarStyle.swift index 6820bf7..8a64127 100644 --- a/Sources/ViewTypes/ListWithSidebarStyle.swift +++ b/Sources/ViewTypes/ListWithSidebarStyle.swift @@ -23,6 +23,7 @@ extension iOSViewVersion { extension iOSViewVersion { public static let v16 = Self(for: .v16) + public static let v17 = Self(for: .v17) } #elseif canImport(AppKit) extension macOSViewVersion { @@ -30,6 +31,7 @@ extension macOSViewVersion { public static let v11 = Self(for: .v11) public static let v12 = Self(for: .v12) public static let v13 = Self(for: .v13) + public static let v14 = Self(for: .v14) } #endif #endif diff --git a/Sources/ViewTypes/NavigationSplitView.swift b/Sources/ViewTypes/NavigationSplitView.swift index a7eec20..bd669a0 100644 --- a/Sources/ViewTypes/NavigationSplitView.swift +++ b/Sources/ViewTypes/NavigationSplitView.swift @@ -18,6 +18,7 @@ extension iOSViewVersion { public static let v15 = Self.unavailable() public static let v16 = Self(for: .v16, selector: selector) + public static let v17 = Self(for: .v17, selector: selector) private static var selector: IntrospectionSelector { .default.withAncestorSelector(\.splitViewController) @@ -33,6 +34,7 @@ extension tvOSViewVersion { public static let v15 = Self.unavailable() public static let v16 = Self(for: .v16, selector: selector) + public static let v17 = Self(for: .v17, selector: selector) private static var selector: IntrospectionSelector { .default.withAncestorSelector(\.navigationController) @@ -48,5 +50,6 @@ extension macOSViewVersion { public static let v12 = Self.unavailable() public static let v13 = Self(for: .v13) + public static let v14 = Self(for: .v14) } #endif diff --git a/Sources/ViewTypes/NavigationStack.swift b/Sources/ViewTypes/NavigationStack.swift index a891760..0cc431f 100644 --- a/Sources/ViewTypes/NavigationStack.swift +++ b/Sources/ViewTypes/NavigationStack.swift @@ -18,6 +18,7 @@ extension iOSViewVersion { public static let v15 = Self.unavailable() public static let v16 = Self(for: .v16, selector: selector) + public static let v17 = Self(for: .v17, selector: selector) private static var selector: IntrospectionSelector { .default.withAncestorSelector(\.navigationController) @@ -33,6 +34,7 @@ extension tvOSViewVersion { public static let v15 = Self.unavailable() public static let v16 = Self(for: .v16, selector: selector) + public static let v17 = Self(for: .v17, selector: selector) private static var selector: IntrospectionSelector { .default.withAncestorSelector(\.navigationController) diff --git a/Sources/ViewTypes/NavigationViewWithColumnsStyle.swift b/Sources/ViewTypes/NavigationViewWithColumnsStyle.swift index e8e8d3a..b31bf33 100644 --- a/Sources/ViewTypes/NavigationViewWithColumnsStyle.swift +++ b/Sources/ViewTypes/NavigationViewWithColumnsStyle.swift @@ -18,6 +18,7 @@ extension iOSViewVersion { .default.withAncestorSelector(\.splitViewController) @@ -29,6 +30,7 @@ extension tvOSViewVersion { .default.withAncestorSelector(\.navigationController) @@ -40,5 +42,6 @@ extension macOSViewVersion { public static let v11 = Self(for: .v11) public static let v12 = Self(for: .v12) public static let v13 = Self(for: .v13) + public static let v14 = Self(for: .v14) } #endif diff --git a/Sources/ViewTypes/NavigationViewWithStackStyle.swift b/Sources/ViewTypes/NavigationViewWithStackStyle.swift index 4507ddd..798a2d2 100644 --- a/Sources/ViewTypes/NavigationViewWithStackStyle.swift +++ b/Sources/ViewTypes/NavigationViewWithStackStyle.swift @@ -18,6 +18,7 @@ extension iOSViewVersion { .default.withAncestorSelector(\.navigationController) @@ -29,6 +30,7 @@ extension tvOSViewVersion { .default.withAncestorSelector(\.navigationController) diff --git a/Sources/ViewTypes/PickerWithMenuStyle.swift b/Sources/ViewTypes/PickerWithMenuStyle.swift index b8e98c6..9ff617f 100644 --- a/Sources/ViewTypes/PickerWithMenuStyle.swift +++ b/Sources/ViewTypes/PickerWithMenuStyle.swift @@ -20,6 +20,7 @@ extension macOSViewVersion { public static let v11 = Self(for: .v11) public static let v12 = Self(for: .v12) public static let v13 = Self(for: .v13) + public static let v14 = Self(for: .v14) } #endif #endif diff --git a/Sources/ViewTypes/PickerWithSegmentedStyle.swift b/Sources/ViewTypes/PickerWithSegmentedStyle.swift index e8f93d6..9a85f63 100644 --- a/Sources/ViewTypes/PickerWithSegmentedStyle.swift +++ b/Sources/ViewTypes/PickerWithSegmentedStyle.swift @@ -18,6 +18,7 @@ extension iOSViewVersion { public static let v14 = Self(for: .v14) public static let v15 = Self(for: .v15) public static let v16 = Self(for: .v16) + public static let v17 = Self(for: .v17) } extension tvOSViewVersion { @@ -25,6 +26,7 @@ extension tvOSViewVersion { public static let v14 = Self(for: .v14) public static let v15 = Self(for: .v15) public static let v16 = Self(for: .v16) + public static let v17 = Self(for: .v17) } #elseif canImport(AppKit) extension macOSViewVersion { @@ -32,5 +34,6 @@ extension macOSViewVersion { public static let v11 = Self(for: .v11) public static let v12 = Self(for: .v12) public static let v13 = Self(for: .v13) + public static let v14 = Self(for: .v14) } #endif diff --git a/Sources/ViewTypes/PickerWithWheelStyle.swift b/Sources/ViewTypes/PickerWithWheelStyle.swift index aa97a11..b6de6d0 100644 --- a/Sources/ViewTypes/PickerWithWheelStyle.swift +++ b/Sources/ViewTypes/PickerWithWheelStyle.swift @@ -19,6 +19,7 @@ extension iOSViewVersion { public static let v14 = Self(for: .v14) public static let v15 = Self(for: .v15) public static let v16 = Self(for: .v16) + public static let v17 = Self(for: .v17) } #endif #endif diff --git a/Sources/ViewTypes/ProgressViewWithCircularStyle.swift b/Sources/ViewTypes/ProgressViewWithCircularStyle.swift index 38f017b..1a7f988 100644 --- a/Sources/ViewTypes/ProgressViewWithCircularStyle.swift +++ b/Sources/ViewTypes/ProgressViewWithCircularStyle.swift @@ -19,6 +19,7 @@ extension iOSViewVersion { @@ -27,6 +28,7 @@ extension tvOSViewVersion { @@ -35,5 +37,6 @@ extension macOSViewVersion { public static let v14 = Self(for: .v14) public static let v15 = Self(for: .v15) public static let v16 = Self(for: .v16) + public static let v17 = Self(for: .v17) } extension tvOSViewVersion { @@ -27,6 +28,7 @@ extension tvOSViewVersion { public static let v14 = Self(for: .v14) public static let v15 = Self(for: .v15) public static let v16 = Self(for: .v16) + public static let v17 = Self(for: .v17) } #elseif canImport(AppKit) extension macOSViewVersion { @@ -35,5 +37,6 @@ extension macOSViewVersion public static let v11 = Self(for: .v11) public static let v12 = Self(for: .v12) public static let v13 = Self(for: .v13) + public static let v14 = Self(for: .v14) } #endif diff --git a/Sources/ViewTypes/ScrollView.swift b/Sources/ViewTypes/ScrollView.swift index edd6cf7..9171185 100644 --- a/Sources/ViewTypes/ScrollView.swift +++ b/Sources/ViewTypes/ScrollView.swift @@ -14,6 +14,7 @@ extension iOSViewVersion { public static let v14 = Self(for: .v14) public static let v15 = Self(for: .v15) public static let v16 = Self(for: .v16) + public static let v17 = Self(for: .v17) } extension tvOSViewVersion { @@ -21,6 +22,7 @@ extension tvOSViewVersion { public static let v14 = Self(for: .v14) public static let v15 = Self(for: .v15) public static let v16 = Self(for: .v16) + public static let v17 = Self(for: .v17) } #elseif canImport(AppKit) extension macOSViewVersion { @@ -28,5 +30,6 @@ extension macOSViewVersion { public static let v11 = Self(for: .v11) public static let v12 = Self(for: .v12) public static let v13 = Self(for: .v13) + public static let v14 = Self(for: .v14) } #endif diff --git a/Sources/ViewTypes/SearchField.swift b/Sources/ViewTypes/SearchField.swift index 1ee82d7..13ade58 100644 --- a/Sources/ViewTypes/SearchField.swift +++ b/Sources/ViewTypes/SearchField.swift @@ -16,6 +16,7 @@ extension iOSViewVersion { public static let v14 = Self.unavailable() public static let v15 = Self(for: .v15, selector: selector) public static let v16 = Self(for: .v16, selector: selector) + public static let v17 = Self(for: .v17, selector: selector) private static var selector: IntrospectionSelector { .from(UINavigationController.self) { @@ -31,6 +32,7 @@ extension tvOSViewVersion { public static let v14 = Self.unavailable() public static let v15 = Self(for: .v15, selector: selector) public static let v16 = Self(for: .v16, selector: selector) + public static let v17 = Self(for: .v17, selector: selector) private static var selector: IntrospectionSelector { .from(UINavigationController.self) { diff --git a/Sources/ViewTypes/Slider.swift b/Sources/ViewTypes/Slider.swift index 2c7d6e1..6c5fd01 100644 --- a/Sources/ViewTypes/Slider.swift +++ b/Sources/ViewTypes/Slider.swift @@ -15,6 +15,7 @@ extension iOSViewVersion { public static let v14 = Self(for: .v14) public static let v15 = Self(for: .v15) public static let v16 = Self(for: .v16) + public static let v17 = Self(for: .v17) } #elseif canImport(AppKit) extension macOSViewVersion { @@ -22,6 +23,7 @@ extension macOSViewVersion { public static let v11 = Self(for: .v11) public static let v12 = Self(for: .v12) public static let v13 = Self(for: .v13) + public static let v14 = Self(for: .v14) } #endif #endif diff --git a/Sources/ViewTypes/Stepper.swift b/Sources/ViewTypes/Stepper.swift index d4d952a..da2ea55 100644 --- a/Sources/ViewTypes/Stepper.swift +++ b/Sources/ViewTypes/Stepper.swift @@ -15,6 +15,7 @@ extension iOSViewVersion { public static let v14 = Self(for: .v14) public static let v15 = Self(for: .v15) public static let v16 = Self(for: .v16) + public static let v17 = Self(for: .v17) } #elseif canImport(AppKit) extension macOSViewVersion { @@ -22,6 +23,7 @@ extension macOSViewVersion { public static let v11 = Self(for: .v11) public static let v12 = Self(for: .v12) public static let v13 = Self(for: .v13) + public static let v14 = Self(for: .v14) } #endif #endif diff --git a/Sources/ViewTypes/TabView.swift b/Sources/ViewTypes/TabView.swift index ae22911..1001217 100644 --- a/Sources/ViewTypes/TabView.swift +++ b/Sources/ViewTypes/TabView.swift @@ -14,6 +14,7 @@ extension iOSViewVersion { public static let v14 = Self(for: .v14, selector: selector) public static let v15 = Self(for: .v15, selector: selector) public static let v16 = Self(for: .v16, selector: selector) + public static let v17 = Self(for: .v17, selector: selector) private static var selector: IntrospectionSelector { .default.withAncestorSelector(\.tabBarController) @@ -25,6 +26,7 @@ extension tvOSViewVersion { public static let v14 = Self(for: .v14, selector: selector) public static let v15 = Self(for: .v15, selector: selector) public static let v16 = Self(for: .v16, selector: selector) + public static let v17 = Self(for: .v17, selector: selector) private static var selector: IntrospectionSelector { .default.withAncestorSelector(\.tabBarController) @@ -36,5 +38,6 @@ extension macOSViewVersion { public static let v11 = Self(for: .v11) public static let v12 = Self(for: .v12) public static let v13 = Self(for: .v13) + public static let v14 = Self(for: .v14) } #endif diff --git a/Sources/ViewTypes/TabViewWithPageStyle.swift b/Sources/ViewTypes/TabViewWithPageStyle.swift index 0c904ee..9bf1136 100644 --- a/Sources/ViewTypes/TabViewWithPageStyle.swift +++ b/Sources/ViewTypes/TabViewWithPageStyle.swift @@ -20,6 +20,7 @@ extension iOSViewVersion { public static let v14 = Self(for: .v14) public static let v15 = Self(for: .v15) public static let v16 = Self(for: .v16) + public static let v17 = Self(for: .v17) } extension tvOSViewVersion { @@ -28,6 +29,7 @@ extension tvOSViewVersion { public static let v14 = Self(for: .v14) public static let v15 = Self(for: .v15) public static let v16 = Self(for: .v16) + public static let v17 = Self(for: .v17) } #endif #endif diff --git a/Sources/ViewTypes/Table.swift b/Sources/ViewTypes/Table.swift index 4c6aefd..5534c4b 100644 --- a/Sources/ViewTypes/Table.swift +++ b/Sources/ViewTypes/Table.swift @@ -18,6 +18,7 @@ extension iOSViewVersion { @available(*, unavailable, message: "Table isn't available on iOS 15") public static let v15 = Self(for: .v15) public static let v16 = Self(for: .v16) + public static let v17 = Self(for: .v17) } #elseif canImport(AppKit) && !targetEnvironment(macCatalyst) extension macOSViewVersion { @@ -27,6 +28,7 @@ extension macOSViewVersion { public static let v11 = Self(for: .v11) public static let v12 = Self(for: .v12) public static let v13 = Self(for: .v13) + public static let v14 = Self(for: .v14) } #endif #endif diff --git a/Sources/ViewTypes/TextEditor.swift b/Sources/ViewTypes/TextEditor.swift index 629d146..b451ae0 100644 --- a/Sources/ViewTypes/TextEditor.swift +++ b/Sources/ViewTypes/TextEditor.swift @@ -16,6 +16,7 @@ extension iOSViewVersion { public static let v14 = Self(for: .v14) public static let v15 = Self(for: .v15) public static let v16 = Self(for: .v16) + public static let v17 = Self(for: .v17) } #elseif canImport(AppKit) extension macOSViewVersion { @@ -24,6 +25,7 @@ extension macOSViewVersion { public static let v11 = Self(for: .v11) public static let v12 = Self(for: .v12) public static let v13 = Self(for: .v13) + public static let v14 = Self(for: .v14) } #endif #endif diff --git a/Sources/ViewTypes/TextField.swift b/Sources/ViewTypes/TextField.swift index d95d65b..ae5c750 100644 --- a/Sources/ViewTypes/TextField.swift +++ b/Sources/ViewTypes/TextField.swift @@ -14,6 +14,7 @@ extension iOSViewVersion { public static let v14 = Self(for: .v14) public static let v15 = Self(for: .v15) public static let v16 = Self(for: .v16) + public static let v17 = Self(for: .v17) } extension tvOSViewVersion { @@ -21,6 +22,7 @@ extension tvOSViewVersion { public static let v14 = Self(for: .v14) public static let v15 = Self(for: .v15) public static let v16 = Self(for: .v16) + public static let v17 = Self(for: .v17) } #elseif canImport(AppKit) extension macOSViewVersion { @@ -28,5 +30,6 @@ extension macOSViewVersion { public static let v11 = Self(for: .v11) public static let v12 = Self(for: .v12) public static let v13 = Self(for: .v13) + public static let v14 = Self(for: .v14) } #endif diff --git a/Sources/ViewTypes/TextFieldWithVerticalAxis.swift b/Sources/ViewTypes/TextFieldWithVerticalAxis.swift index 579a116..b0e29e3 100644 --- a/Sources/ViewTypes/TextFieldWithVerticalAxis.swift +++ b/Sources/ViewTypes/TextFieldWithVerticalAxis.swift @@ -24,6 +24,7 @@ extension iOSViewVersion { public static let v15 = Self.unavailable() public static let v16 = Self(for: .v16) + public static let v17 = Self(for: .v17) } extension tvOSViewVersion { @@ -35,6 +36,7 @@ extension tvOSViewVersion { public static let v15 = Self.unavailable() public static let v16 = Self(for: .v16) + public static let v17 = Self(for: .v17) } #elseif canImport(AppKit) extension macOSViewVersion { @@ -46,5 +48,6 @@ extension macOSViewVersion { public static let v12 = Self.unavailable() public static let v13 = Self(for: .v13) + public static let v14 = Self(for: .v14) } #endif diff --git a/Sources/ViewTypes/Toggle.swift b/Sources/ViewTypes/Toggle.swift index 27a0012..dfd7633 100644 --- a/Sources/ViewTypes/Toggle.swift +++ b/Sources/ViewTypes/Toggle.swift @@ -15,6 +15,7 @@ extension iOSViewVersion { public static let v14 = Self(for: .v14) public static let v15 = Self(for: .v15) public static let v16 = Self(for: .v16) + public static let v17 = Self(for: .v17) } #elseif canImport(AppKit) extension macOSViewVersion { @@ -22,6 +23,7 @@ extension macOSViewVersion { public static let v11 = Self(for: .v11) public static let v12 = Self(for: .v12) public static let v13 = Self(for: .v13) + public static let v14 = Self(for: .v14) } #endif #endif diff --git a/Sources/ViewTypes/ToggleWithButtonStyle.swift b/Sources/ViewTypes/ToggleWithButtonStyle.swift index b530bcd..cf77f86 100644 --- a/Sources/ViewTypes/ToggleWithButtonStyle.swift +++ b/Sources/ViewTypes/ToggleWithButtonStyle.swift @@ -21,6 +21,7 @@ extension macOSViewVersion { public static let v11 = Self.unavailable() public static let v12 = Self(for: .v12) public static let v13 = Self(for: .v13) + public static let v14 = Self(for: .v14) } #endif #endif diff --git a/Sources/ViewTypes/ToggleWithCheckboxStyle.swift b/Sources/ViewTypes/ToggleWithCheckboxStyle.swift index bb2e01e..1fcf049 100644 --- a/Sources/ViewTypes/ToggleWithCheckboxStyle.swift +++ b/Sources/ViewTypes/ToggleWithCheckboxStyle.swift @@ -19,6 +19,7 @@ extension macOSViewVersion { public static let v11 = Self(for: .v11) public static let v12 = Self(for: .v12) public static let v13 = Self(for: .v13) + public static let v14 = Self(for: .v14) } #endif #endif diff --git a/Sources/ViewTypes/ToggleWithSwitchStyle.swift b/Sources/ViewTypes/ToggleWithSwitchStyle.swift index f4ca188..494c62a 100644 --- a/Sources/ViewTypes/ToggleWithSwitchStyle.swift +++ b/Sources/ViewTypes/ToggleWithSwitchStyle.swift @@ -19,6 +19,7 @@ extension iOSViewVersion { public static let v14 = Self(for: .v14) public static let v15 = Self(for: .v15) public static let v16 = Self(for: .v16) + public static let v17 = Self(for: .v17) } #elseif canImport(AppKit) extension macOSViewVersion { @@ -26,6 +27,7 @@ extension macOSViewVersion { public static let v11 = Self(for: .v11) public static let v12 = Self(for: .v12) public static let v13 = Self(for: .v13) + public static let v14 = Self(for: .v14) } #endif #endif diff --git a/Sources/ViewTypes/View.swift b/Sources/ViewTypes/View.swift index c571e4e..2415e8c 100644 --- a/Sources/ViewTypes/View.swift +++ b/Sources/ViewTypes/View.swift @@ -16,6 +16,7 @@ extension iOSViewVersion { public static let v14 = Self(for: .v14) public static let v15 = Self(for: .v15) public static let v16 = Self(for: .v16) + public static let v17 = Self(for: .v17) } extension tvOSViewVersion { @@ -23,5 +24,6 @@ extension tvOSViewVersion { public static let v14 = Self(for: .v14) public static let v15 = Self(for: .v15) public static let v16 = Self(for: .v16) + public static let v17 = Self(for: .v17) } #endif