wip
This commit is contained in:
parent
fad2f9ab98
commit
47ae808661
|
@ -15,6 +15,7 @@ extension macOSViewVersion<ButtonType, NSButton> {
|
||||||
public static let v11 = Self(for: .v11)
|
public static let v11 = Self(for: .v11)
|
||||||
public static let v12 = Self(for: .v12)
|
public static let v12 = Self(for: .v12)
|
||||||
public static let v13 = Self(for: .v13)
|
public static let v13 = Self(for: .v13)
|
||||||
|
public static let v14 = Self(for: .v14)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -17,6 +17,7 @@ extension iOSViewVersion<ColorPickerType, UIColorWell> {
|
||||||
public static let v14 = Self(for: .v14)
|
public static let v14 = Self(for: .v14)
|
||||||
public static let v15 = Self(for: .v15)
|
public static let v15 = Self(for: .v15)
|
||||||
public static let v16 = Self(for: .v16)
|
public static let v16 = Self(for: .v16)
|
||||||
|
public static let v17 = Self(for: .v17)
|
||||||
}
|
}
|
||||||
#elseif canImport(AppKit)
|
#elseif canImport(AppKit)
|
||||||
@available(macOS 11, *)
|
@available(macOS 11, *)
|
||||||
|
@ -26,6 +27,7 @@ extension macOSViewVersion<ColorPickerType, NSColorWell> {
|
||||||
public static let v11 = Self(for: .v11)
|
public static let v11 = Self(for: .v11)
|
||||||
public static let v12 = Self(for: .v12)
|
public static let v12 = Self(for: .v12)
|
||||||
public static let v13 = Self(for: .v13)
|
public static let v13 = Self(for: .v13)
|
||||||
|
public static let v14 = Self(for: .v14)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -15,6 +15,7 @@ extension iOSViewVersion<DatePickerType, UIDatePicker> {
|
||||||
public static let v14 = Self(for: .v14)
|
public static let v14 = Self(for: .v14)
|
||||||
public static let v15 = Self(for: .v15)
|
public static let v15 = Self(for: .v15)
|
||||||
public static let v16 = Self(for: .v16)
|
public static let v16 = Self(for: .v16)
|
||||||
|
public static let v17 = Self(for: .v17)
|
||||||
}
|
}
|
||||||
#elseif canImport(AppKit)
|
#elseif canImport(AppKit)
|
||||||
extension macOSViewVersion<DatePickerType, NSDatePicker> {
|
extension macOSViewVersion<DatePickerType, NSDatePicker> {
|
||||||
|
@ -22,6 +23,7 @@ extension macOSViewVersion<DatePickerType, NSDatePicker> {
|
||||||
public static let v11 = Self(for: .v11)
|
public static let v11 = Self(for: .v11)
|
||||||
public static let v12 = Self(for: .v12)
|
public static let v12 = Self(for: .v12)
|
||||||
public static let v13 = Self(for: .v13)
|
public static let v13 = Self(for: .v13)
|
||||||
|
public static let v14 = Self(for: .v14)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -20,6 +20,7 @@ extension iOSViewVersion<DatePickerWithCompactStyleType, UIDatePicker> {
|
||||||
public static let v14 = Self(for: .v14)
|
public static let v14 = Self(for: .v14)
|
||||||
public static let v15 = Self(for: .v15)
|
public static let v15 = Self(for: .v15)
|
||||||
public static let v16 = Self(for: .v16)
|
public static let v16 = Self(for: .v16)
|
||||||
|
public static let v17 = Self(for: .v17)
|
||||||
}
|
}
|
||||||
#elseif canImport(AppKit) && !targetEnvironment(macCatalyst)
|
#elseif canImport(AppKit) && !targetEnvironment(macCatalyst)
|
||||||
extension macOSViewVersion<DatePickerWithCompactStyleType, NSDatePicker> {
|
extension macOSViewVersion<DatePickerWithCompactStyleType, NSDatePicker> {
|
||||||
|
@ -29,6 +30,7 @@ extension macOSViewVersion<DatePickerWithCompactStyleType, NSDatePicker> {
|
||||||
public static let v11 = Self(for: .v11)
|
public static let v11 = Self(for: .v11)
|
||||||
public static let v12 = Self(for: .v12)
|
public static let v12 = Self(for: .v12)
|
||||||
public static let v13 = Self(for: .v13)
|
public static let v13 = Self(for: .v13)
|
||||||
|
public static let v14 = Self(for: .v14)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -19,6 +19,7 @@ extension macOSViewVersion<DatePickerWithFieldStyleType, NSDatePicker> {
|
||||||
public static let v11 = Self(for: .v11)
|
public static let v11 = Self(for: .v11)
|
||||||
public static let v12 = Self(for: .v12)
|
public static let v12 = Self(for: .v12)
|
||||||
public static let v13 = Self(for: .v13)
|
public static let v13 = Self(for: .v13)
|
||||||
|
public static let v14 = Self(for: .v14)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -20,6 +20,7 @@ extension iOSViewVersion<DatePickerWithGraphicalStyleType, UIDatePicker> {
|
||||||
public static let v14 = Self(for: .v14)
|
public static let v14 = Self(for: .v14)
|
||||||
public static let v15 = Self(for: .v15)
|
public static let v15 = Self(for: .v15)
|
||||||
public static let v16 = Self(for: .v16)
|
public static let v16 = Self(for: .v16)
|
||||||
|
public static let v17 = Self(for: .v17)
|
||||||
}
|
}
|
||||||
#elseif canImport(AppKit) && !targetEnvironment(macCatalyst)
|
#elseif canImport(AppKit) && !targetEnvironment(macCatalyst)
|
||||||
extension macOSViewVersion<DatePickerWithGraphicalStyleType, NSDatePicker> {
|
extension macOSViewVersion<DatePickerWithGraphicalStyleType, NSDatePicker> {
|
||||||
|
@ -27,6 +28,7 @@ extension macOSViewVersion<DatePickerWithGraphicalStyleType, NSDatePicker> {
|
||||||
public static let v11 = Self(for: .v11)
|
public static let v11 = Self(for: .v11)
|
||||||
public static let v12 = Self(for: .v12)
|
public static let v12 = Self(for: .v12)
|
||||||
public static let v13 = Self(for: .v13)
|
public static let v13 = Self(for: .v13)
|
||||||
|
public static let v14 = Self(for: .v14)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -19,6 +19,7 @@ extension macOSViewVersion<DatePickerWithStepperFieldStyleType, NSDatePicker> {
|
||||||
public static let v11 = Self(for: .v11)
|
public static let v11 = Self(for: .v11)
|
||||||
public static let v12 = Self(for: .v12)
|
public static let v12 = Self(for: .v12)
|
||||||
public static let v13 = Self(for: .v13)
|
public static let v13 = Self(for: .v13)
|
||||||
|
public static let v14 = Self(for: .v14)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -19,6 +19,7 @@ extension iOSViewVersion<DatePickerWithWheelStyleType, UIDatePicker> {
|
||||||
public static let v14 = Self(for: .v14)
|
public static let v14 = Self(for: .v14)
|
||||||
public static let v15 = Self(for: .v15)
|
public static let v15 = Self(for: .v15)
|
||||||
public static let v16 = Self(for: .v16)
|
public static let v16 = Self(for: .v16)
|
||||||
|
public static let v17 = Self(for: .v17)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -18,6 +18,7 @@ extension iOSViewVersion<FormType, UITableView> {
|
||||||
|
|
||||||
extension iOSViewVersion<FormType, UICollectionView> {
|
extension iOSViewVersion<FormType, UICollectionView> {
|
||||||
public static let v16 = Self(for: .v16)
|
public static let v16 = Self(for: .v16)
|
||||||
|
public static let v17 = Self(for: .v17)
|
||||||
}
|
}
|
||||||
|
|
||||||
extension tvOSViewVersion<FormType, UITableView> {
|
extension tvOSViewVersion<FormType, UITableView> {
|
||||||
|
@ -25,6 +26,7 @@ extension tvOSViewVersion<FormType, UITableView> {
|
||||||
public static let v14 = Self(for: .v14)
|
public static let v14 = Self(for: .v14)
|
||||||
public static let v15 = Self(for: .v15)
|
public static let v15 = Self(for: .v15)
|
||||||
public static let v16 = Self(for: .v16)
|
public static let v16 = Self(for: .v16)
|
||||||
|
public static let v17 = Self(for: .v17)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -24,6 +24,7 @@ extension iOSViewVersion<FormWithGroupedStyleType, UITableView> {
|
||||||
|
|
||||||
extension iOSViewVersion<FormWithGroupedStyleType, UICollectionView> {
|
extension iOSViewVersion<FormWithGroupedStyleType, UICollectionView> {
|
||||||
public static let v16 = Self(for: .v16)
|
public static let v16 = Self(for: .v16)
|
||||||
|
public static let v17 = Self(for: .v17)
|
||||||
}
|
}
|
||||||
|
|
||||||
extension tvOSViewVersion<FormWithGroupedStyleType, UITableView> {
|
extension tvOSViewVersion<FormWithGroupedStyleType, UITableView> {
|
||||||
|
@ -34,6 +35,7 @@ extension tvOSViewVersion<FormWithGroupedStyleType, UITableView> {
|
||||||
@available(*, unavailable, message: ".formStyle(.grouped) isn't available on tvOS 15")
|
@available(*, unavailable, message: ".formStyle(.grouped) isn't available on tvOS 15")
|
||||||
public static let v15 = Self.unavailable()
|
public static let v15 = Self.unavailable()
|
||||||
public static let v16 = Self(for: .v16)
|
public static let v16 = Self(for: .v16)
|
||||||
|
public static let v17 = Self(for: .v17)
|
||||||
}
|
}
|
||||||
#elseif canImport(AppKit)
|
#elseif canImport(AppKit)
|
||||||
extension macOSViewVersion<FormWithGroupedStyleType, NSScrollView> {
|
extension macOSViewVersion<FormWithGroupedStyleType, NSScrollView> {
|
||||||
|
@ -44,5 +46,6 @@ extension macOSViewVersion<FormWithGroupedStyleType, NSScrollView> {
|
||||||
@available(*, unavailable, message: ".formStyle(.grouped) isn't available on macOS 12")
|
@available(*, unavailable, message: ".formStyle(.grouped) isn't available on macOS 12")
|
||||||
public static let v12 = Self.unavailable()
|
public static let v12 = Self.unavailable()
|
||||||
public static let v13 = Self(for: .v13)
|
public static let v13 = Self(for: .v13)
|
||||||
|
public static let v14 = Self(for: .v14)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -22,6 +22,7 @@ extension iOSViewVersion<ListType, UITableView> {
|
||||||
|
|
||||||
extension iOSViewVersion<ListType, UICollectionView> {
|
extension iOSViewVersion<ListType, UICollectionView> {
|
||||||
public static let v16 = Self(for: .v16)
|
public static let v16 = Self(for: .v16)
|
||||||
|
public static let v17 = Self(for: .v17)
|
||||||
}
|
}
|
||||||
|
|
||||||
extension tvOSViewVersion<ListType, UITableView> {
|
extension tvOSViewVersion<ListType, UITableView> {
|
||||||
|
@ -29,6 +30,7 @@ extension tvOSViewVersion<ListType, UITableView> {
|
||||||
public static let v14 = Self(for: .v14)
|
public static let v14 = Self(for: .v14)
|
||||||
public static let v15 = Self(for: .v15)
|
public static let v15 = Self(for: .v15)
|
||||||
public static let v16 = Self(for: .v16)
|
public static let v16 = Self(for: .v16)
|
||||||
|
public static let v17 = Self(for: .v17)
|
||||||
}
|
}
|
||||||
#elseif canImport(AppKit)
|
#elseif canImport(AppKit)
|
||||||
extension macOSViewVersion<ListType, NSTableView> {
|
extension macOSViewVersion<ListType, NSTableView> {
|
||||||
|
@ -36,5 +38,6 @@ extension macOSViewVersion<ListType, NSTableView> {
|
||||||
public static let v11 = Self(for: .v11)
|
public static let v11 = Self(for: .v11)
|
||||||
public static let v12 = Self(for: .v12)
|
public static let v12 = Self(for: .v12)
|
||||||
public static let v13 = Self(for: .v13)
|
public static let v13 = Self(for: .v13)
|
||||||
|
public static let v14 = Self(for: .v14)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -19,6 +19,7 @@ extension iOSViewVersion<ListCellType, UITableViewCell> {
|
||||||
|
|
||||||
extension iOSViewVersion<ListCellType, UICollectionViewCell> {
|
extension iOSViewVersion<ListCellType, UICollectionViewCell> {
|
||||||
public static let v16 = Self(for: .v16)
|
public static let v16 = Self(for: .v16)
|
||||||
|
public static let v17 = Self(for: .v17)
|
||||||
}
|
}
|
||||||
|
|
||||||
extension tvOSViewVersion<ListCellType, UITableViewCell> {
|
extension tvOSViewVersion<ListCellType, UITableViewCell> {
|
||||||
|
@ -26,6 +27,7 @@ extension tvOSViewVersion<ListCellType, UITableViewCell> {
|
||||||
public static let v14 = Self(for: .v14)
|
public static let v14 = Self(for: .v14)
|
||||||
public static let v15 = Self(for: .v15)
|
public static let v15 = Self(for: .v15)
|
||||||
public static let v16 = Self(for: .v16)
|
public static let v16 = Self(for: .v16)
|
||||||
|
public static let v17 = Self(for: .v17)
|
||||||
}
|
}
|
||||||
#elseif canImport(AppKit)
|
#elseif canImport(AppKit)
|
||||||
extension macOSViewVersion<ListCellType, NSTableCellView> {
|
extension macOSViewVersion<ListCellType, NSTableCellView> {
|
||||||
|
@ -33,5 +35,6 @@ extension macOSViewVersion<ListCellType, NSTableCellView> {
|
||||||
public static let v11 = Self(for: .v11)
|
public static let v11 = Self(for: .v11)
|
||||||
public static let v12 = Self(for: .v12)
|
public static let v12 = Self(for: .v12)
|
||||||
public static let v13 = Self(for: .v13)
|
public static let v13 = Self(for: .v13)
|
||||||
|
public static let v14 = Self(for: .v14)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -21,6 +21,7 @@ extension macOSViewVersion<ListWithBorderedStyleType, NSTableView> {
|
||||||
public static let v11 = Self.unavailable()
|
public static let v11 = Self.unavailable()
|
||||||
public static let v12 = Self(for: .v12)
|
public static let v12 = Self(for: .v12)
|
||||||
public static let v13 = Self(for: .v13)
|
public static let v13 = Self(for: .v13)
|
||||||
|
public static let v14 = Self(for: .v14)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -22,6 +22,7 @@ extension iOSViewVersion<ListWithGroupedStyleType, UITableView> {
|
||||||
|
|
||||||
extension iOSViewVersion<ListWithGroupedStyleType, UICollectionView> {
|
extension iOSViewVersion<ListWithGroupedStyleType, UICollectionView> {
|
||||||
public static let v16 = Self(for: .v16)
|
public static let v16 = Self(for: .v16)
|
||||||
|
public static let v17 = Self(for: .v17)
|
||||||
}
|
}
|
||||||
|
|
||||||
extension tvOSViewVersion<ListWithGroupedStyleType, UITableView> {
|
extension tvOSViewVersion<ListWithGroupedStyleType, UITableView> {
|
||||||
|
@ -29,6 +30,7 @@ extension tvOSViewVersion<ListWithGroupedStyleType, UITableView> {
|
||||||
public static let v14 = Self(for: .v14)
|
public static let v14 = Self(for: .v14)
|
||||||
public static let v15 = Self(for: .v15)
|
public static let v15 = Self(for: .v15)
|
||||||
public static let v16 = Self(for: .v16)
|
public static let v16 = Self(for: .v16)
|
||||||
|
public static let v17 = Self(for: .v17)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -23,6 +23,7 @@ extension iOSViewVersion<ListWithInsetGroupedStyleType, UITableView> {
|
||||||
|
|
||||||
extension iOSViewVersion<ListWithInsetGroupedStyleType, UICollectionView> {
|
extension iOSViewVersion<ListWithInsetGroupedStyleType, UICollectionView> {
|
||||||
public static let v16 = Self(for: .v16)
|
public static let v16 = Self(for: .v16)
|
||||||
|
public static let v17 = Self(for: .v17)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -23,6 +23,7 @@ extension iOSViewVersion<ListWithInsetStyleType, UITableView> {
|
||||||
|
|
||||||
extension iOSViewVersion<ListWithInsetStyleType, UICollectionView> {
|
extension iOSViewVersion<ListWithInsetStyleType, UICollectionView> {
|
||||||
public static let v16 = Self(for: .v16)
|
public static let v16 = Self(for: .v16)
|
||||||
|
public static let v17 = Self(for: .v17)
|
||||||
}
|
}
|
||||||
#elseif canImport(AppKit)
|
#elseif canImport(AppKit)
|
||||||
extension macOSViewVersion<ListWithInsetStyleType, NSTableView> {
|
extension macOSViewVersion<ListWithInsetStyleType, NSTableView> {
|
||||||
|
@ -31,6 +32,7 @@ extension macOSViewVersion<ListWithInsetStyleType, NSTableView> {
|
||||||
public static let v11 = Self(for: .v11)
|
public static let v11 = Self(for: .v11)
|
||||||
public static let v12 = Self(for: .v12)
|
public static let v12 = Self(for: .v12)
|
||||||
public static let v13 = Self(for: .v13)
|
public static let v13 = Self(for: .v13)
|
||||||
|
public static let v14 = Self(for: .v14)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -23,6 +23,7 @@ extension iOSViewVersion<ListWithSidebarStyleType, UITableView> {
|
||||||
|
|
||||||
extension iOSViewVersion<ListWithSidebarStyleType, UICollectionView> {
|
extension iOSViewVersion<ListWithSidebarStyleType, UICollectionView> {
|
||||||
public static let v16 = Self(for: .v16)
|
public static let v16 = Self(for: .v16)
|
||||||
|
public static let v17 = Self(for: .v17)
|
||||||
}
|
}
|
||||||
#elseif canImport(AppKit)
|
#elseif canImport(AppKit)
|
||||||
extension macOSViewVersion<ListWithSidebarStyleType, NSTableView> {
|
extension macOSViewVersion<ListWithSidebarStyleType, NSTableView> {
|
||||||
|
@ -30,6 +31,7 @@ extension macOSViewVersion<ListWithSidebarStyleType, NSTableView> {
|
||||||
public static let v11 = Self(for: .v11)
|
public static let v11 = Self(for: .v11)
|
||||||
public static let v12 = Self(for: .v12)
|
public static let v12 = Self(for: .v12)
|
||||||
public static let v13 = Self(for: .v13)
|
public static let v13 = Self(for: .v13)
|
||||||
|
public static let v14 = Self(for: .v14)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -18,6 +18,7 @@ extension iOSViewVersion<NavigationSplitViewType, UISplitViewController> {
|
||||||
public static let v15 = Self.unavailable()
|
public static let v15 = Self.unavailable()
|
||||||
|
|
||||||
public static let v16 = Self(for: .v16, 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<UISplitViewController> {
|
private static var selector: IntrospectionSelector<UISplitViewController> {
|
||||||
.default.withAncestorSelector(\.splitViewController)
|
.default.withAncestorSelector(\.splitViewController)
|
||||||
|
@ -33,6 +34,7 @@ extension tvOSViewVersion<NavigationSplitViewType, UINavigationController> {
|
||||||
public static let v15 = Self.unavailable()
|
public static let v15 = Self.unavailable()
|
||||||
|
|
||||||
public static let v16 = Self(for: .v16, 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<UINavigationController> {
|
private static var selector: IntrospectionSelector<UINavigationController> {
|
||||||
.default.withAncestorSelector(\.navigationController)
|
.default.withAncestorSelector(\.navigationController)
|
||||||
|
@ -48,5 +50,6 @@ extension macOSViewVersion<NavigationSplitViewType, NSSplitView> {
|
||||||
public static let v12 = Self.unavailable()
|
public static let v12 = Self.unavailable()
|
||||||
|
|
||||||
public static let v13 = Self(for: .v13)
|
public static let v13 = Self(for: .v13)
|
||||||
|
public static let v14 = Self(for: .v14)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -18,6 +18,7 @@ extension iOSViewVersion<NavigationStackType, UINavigationController> {
|
||||||
public static let v15 = Self.unavailable()
|
public static let v15 = Self.unavailable()
|
||||||
|
|
||||||
public static let v16 = Self(for: .v16, 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<UINavigationController> {
|
private static var selector: IntrospectionSelector<UINavigationController> {
|
||||||
.default.withAncestorSelector(\.navigationController)
|
.default.withAncestorSelector(\.navigationController)
|
||||||
|
@ -33,6 +34,7 @@ extension tvOSViewVersion<NavigationStackType, UINavigationController> {
|
||||||
public static let v15 = Self.unavailable()
|
public static let v15 = Self.unavailable()
|
||||||
|
|
||||||
public static let v16 = Self(for: .v16, 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<UINavigationController> {
|
private static var selector: IntrospectionSelector<UINavigationController> {
|
||||||
.default.withAncestorSelector(\.navigationController)
|
.default.withAncestorSelector(\.navigationController)
|
||||||
|
|
|
@ -18,6 +18,7 @@ extension iOSViewVersion<NavigationViewWithColumnsStyleType, UISplitViewControll
|
||||||
public static let v14 = Self(for: .v14, selector: selector)
|
public static let v14 = Self(for: .v14, selector: selector)
|
||||||
public static let v15 = Self(for: .v15, selector: selector)
|
public static let v15 = Self(for: .v15, selector: selector)
|
||||||
public static let v16 = Self(for: .v16, 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<UISplitViewController> {
|
private static var selector: IntrospectionSelector<UISplitViewController> {
|
||||||
.default.withAncestorSelector(\.splitViewController)
|
.default.withAncestorSelector(\.splitViewController)
|
||||||
|
@ -29,6 +30,7 @@ extension tvOSViewVersion<NavigationViewWithColumnsStyleType, UINavigationContro
|
||||||
public static let v14 = Self(for: .v14, selector: selector)
|
public static let v14 = Self(for: .v14, selector: selector)
|
||||||
public static let v15 = Self(for: .v15, selector: selector)
|
public static let v15 = Self(for: .v15, selector: selector)
|
||||||
public static let v16 = Self(for: .v16, 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<UINavigationController> {
|
private static var selector: IntrospectionSelector<UINavigationController> {
|
||||||
.default.withAncestorSelector(\.navigationController)
|
.default.withAncestorSelector(\.navigationController)
|
||||||
|
@ -40,5 +42,6 @@ extension macOSViewVersion<NavigationViewWithColumnsStyleType, NSSplitView> {
|
||||||
public static let v11 = Self(for: .v11)
|
public static let v11 = Self(for: .v11)
|
||||||
public static let v12 = Self(for: .v12)
|
public static let v12 = Self(for: .v12)
|
||||||
public static let v13 = Self(for: .v13)
|
public static let v13 = Self(for: .v13)
|
||||||
|
public static let v14 = Self(for: .v14)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -18,6 +18,7 @@ extension iOSViewVersion<NavigationViewWithStackStyleType, UINavigationControlle
|
||||||
public static let v14 = Self(for: .v14, selector: selector)
|
public static let v14 = Self(for: .v14, selector: selector)
|
||||||
public static let v15 = Self(for: .v15, selector: selector)
|
public static let v15 = Self(for: .v15, selector: selector)
|
||||||
public static let v16 = Self(for: .v16, 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<UINavigationController> {
|
private static var selector: IntrospectionSelector<UINavigationController> {
|
||||||
.default.withAncestorSelector(\.navigationController)
|
.default.withAncestorSelector(\.navigationController)
|
||||||
|
@ -29,6 +30,7 @@ extension tvOSViewVersion<NavigationViewWithStackStyleType, UINavigationControll
|
||||||
public static let v14 = Self(for: .v14, selector: selector)
|
public static let v14 = Self(for: .v14, selector: selector)
|
||||||
public static let v15 = Self(for: .v15, selector: selector)
|
public static let v15 = Self(for: .v15, selector: selector)
|
||||||
public static let v16 = Self(for: .v16, 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<UINavigationController> {
|
private static var selector: IntrospectionSelector<UINavigationController> {
|
||||||
.default.withAncestorSelector(\.navigationController)
|
.default.withAncestorSelector(\.navigationController)
|
||||||
|
|
|
@ -20,6 +20,7 @@ extension macOSViewVersion<PickerWithMenuStyleType, NSPopUpButton> {
|
||||||
public static let v11 = Self(for: .v11)
|
public static let v11 = Self(for: .v11)
|
||||||
public static let v12 = Self(for: .v12)
|
public static let v12 = Self(for: .v12)
|
||||||
public static let v13 = Self(for: .v13)
|
public static let v13 = Self(for: .v13)
|
||||||
|
public static let v14 = Self(for: .v14)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -18,6 +18,7 @@ extension iOSViewVersion<PickerWithSegmentedStyleType, UISegmentedControl> {
|
||||||
public static let v14 = Self(for: .v14)
|
public static let v14 = Self(for: .v14)
|
||||||
public static let v15 = Self(for: .v15)
|
public static let v15 = Self(for: .v15)
|
||||||
public static let v16 = Self(for: .v16)
|
public static let v16 = Self(for: .v16)
|
||||||
|
public static let v17 = Self(for: .v17)
|
||||||
}
|
}
|
||||||
|
|
||||||
extension tvOSViewVersion<PickerWithSegmentedStyleType, UISegmentedControl> {
|
extension tvOSViewVersion<PickerWithSegmentedStyleType, UISegmentedControl> {
|
||||||
|
@ -25,6 +26,7 @@ extension tvOSViewVersion<PickerWithSegmentedStyleType, UISegmentedControl> {
|
||||||
public static let v14 = Self(for: .v14)
|
public static let v14 = Self(for: .v14)
|
||||||
public static let v15 = Self(for: .v15)
|
public static let v15 = Self(for: .v15)
|
||||||
public static let v16 = Self(for: .v16)
|
public static let v16 = Self(for: .v16)
|
||||||
|
public static let v17 = Self(for: .v17)
|
||||||
}
|
}
|
||||||
#elseif canImport(AppKit)
|
#elseif canImport(AppKit)
|
||||||
extension macOSViewVersion<PickerWithSegmentedStyleType, NSSegmentedControl> {
|
extension macOSViewVersion<PickerWithSegmentedStyleType, NSSegmentedControl> {
|
||||||
|
@ -32,5 +34,6 @@ extension macOSViewVersion<PickerWithSegmentedStyleType, NSSegmentedControl> {
|
||||||
public static let v11 = Self(for: .v11)
|
public static let v11 = Self(for: .v11)
|
||||||
public static let v12 = Self(for: .v12)
|
public static let v12 = Self(for: .v12)
|
||||||
public static let v13 = Self(for: .v13)
|
public static let v13 = Self(for: .v13)
|
||||||
|
public static let v14 = Self(for: .v14)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -19,6 +19,7 @@ extension iOSViewVersion<PickerWithWheelStyleType, UIPickerView> {
|
||||||
public static let v14 = Self(for: .v14)
|
public static let v14 = Self(for: .v14)
|
||||||
public static let v15 = Self(for: .v15)
|
public static let v15 = Self(for: .v15)
|
||||||
public static let v16 = Self(for: .v16)
|
public static let v16 = Self(for: .v16)
|
||||||
|
public static let v17 = Self(for: .v17)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -19,6 +19,7 @@ extension iOSViewVersion<ProgressViewWithCircularStyleType, UIActivityIndicatorV
|
||||||
public static let v14 = Self(for: .v14)
|
public static let v14 = Self(for: .v14)
|
||||||
public static let v15 = Self(for: .v15)
|
public static let v15 = Self(for: .v15)
|
||||||
public static let v16 = Self(for: .v16)
|
public static let v16 = Self(for: .v16)
|
||||||
|
public static let v17 = Self(for: .v17)
|
||||||
}
|
}
|
||||||
|
|
||||||
extension tvOSViewVersion<ProgressViewWithCircularStyleType, UIActivityIndicatorView> {
|
extension tvOSViewVersion<ProgressViewWithCircularStyleType, UIActivityIndicatorView> {
|
||||||
|
@ -27,6 +28,7 @@ extension tvOSViewVersion<ProgressViewWithCircularStyleType, UIActivityIndicator
|
||||||
public static let v14 = Self(for: .v14)
|
public static let v14 = Self(for: .v14)
|
||||||
public static let v15 = Self(for: .v15)
|
public static let v15 = Self(for: .v15)
|
||||||
public static let v16 = Self(for: .v16)
|
public static let v16 = Self(for: .v16)
|
||||||
|
public static let v17 = Self(for: .v17)
|
||||||
}
|
}
|
||||||
#elseif canImport(AppKit)
|
#elseif canImport(AppKit)
|
||||||
extension macOSViewVersion<ProgressViewWithCircularStyleType, NSProgressIndicator> {
|
extension macOSViewVersion<ProgressViewWithCircularStyleType, NSProgressIndicator> {
|
||||||
|
@ -35,5 +37,6 @@ extension macOSViewVersion<ProgressViewWithCircularStyleType, NSProgressIndicato
|
||||||
public static let v11 = Self(for: .v11)
|
public static let v11 = Self(for: .v11)
|
||||||
public static let v12 = Self(for: .v12)
|
public static let v12 = Self(for: .v12)
|
||||||
public static let v13 = Self(for: .v13)
|
public static let v13 = Self(for: .v13)
|
||||||
|
public static let v14 = Self(for: .v14)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -19,6 +19,7 @@ extension iOSViewVersion<ProgressViewWithLinearStyleType, UIProgressView> {
|
||||||
public static let v14 = Self(for: .v14)
|
public static let v14 = Self(for: .v14)
|
||||||
public static let v15 = Self(for: .v15)
|
public static let v15 = Self(for: .v15)
|
||||||
public static let v16 = Self(for: .v16)
|
public static let v16 = Self(for: .v16)
|
||||||
|
public static let v17 = Self(for: .v17)
|
||||||
}
|
}
|
||||||
|
|
||||||
extension tvOSViewVersion<ProgressViewWithLinearStyleType, UIProgressView> {
|
extension tvOSViewVersion<ProgressViewWithLinearStyleType, UIProgressView> {
|
||||||
|
@ -27,6 +28,7 @@ extension tvOSViewVersion<ProgressViewWithLinearStyleType, UIProgressView> {
|
||||||
public static let v14 = Self(for: .v14)
|
public static let v14 = Self(for: .v14)
|
||||||
public static let v15 = Self(for: .v15)
|
public static let v15 = Self(for: .v15)
|
||||||
public static let v16 = Self(for: .v16)
|
public static let v16 = Self(for: .v16)
|
||||||
|
public static let v17 = Self(for: .v17)
|
||||||
}
|
}
|
||||||
#elseif canImport(AppKit)
|
#elseif canImport(AppKit)
|
||||||
extension macOSViewVersion<ProgressViewWithLinearStyleType, NSProgressIndicator> {
|
extension macOSViewVersion<ProgressViewWithLinearStyleType, NSProgressIndicator> {
|
||||||
|
@ -35,5 +37,6 @@ extension macOSViewVersion<ProgressViewWithLinearStyleType, NSProgressIndicator>
|
||||||
public static let v11 = Self(for: .v11)
|
public static let v11 = Self(for: .v11)
|
||||||
public static let v12 = Self(for: .v12)
|
public static let v12 = Self(for: .v12)
|
||||||
public static let v13 = Self(for: .v13)
|
public static let v13 = Self(for: .v13)
|
||||||
|
public static let v14 = Self(for: .v14)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -14,6 +14,7 @@ extension iOSViewVersion<ScrollViewType, UIScrollView> {
|
||||||
public static let v14 = Self(for: .v14)
|
public static let v14 = Self(for: .v14)
|
||||||
public static let v15 = Self(for: .v15)
|
public static let v15 = Self(for: .v15)
|
||||||
public static let v16 = Self(for: .v16)
|
public static let v16 = Self(for: .v16)
|
||||||
|
public static let v17 = Self(for: .v17)
|
||||||
}
|
}
|
||||||
|
|
||||||
extension tvOSViewVersion<ScrollViewType, UIScrollView> {
|
extension tvOSViewVersion<ScrollViewType, UIScrollView> {
|
||||||
|
@ -21,6 +22,7 @@ extension tvOSViewVersion<ScrollViewType, UIScrollView> {
|
||||||
public static let v14 = Self(for: .v14)
|
public static let v14 = Self(for: .v14)
|
||||||
public static let v15 = Self(for: .v15)
|
public static let v15 = Self(for: .v15)
|
||||||
public static let v16 = Self(for: .v16)
|
public static let v16 = Self(for: .v16)
|
||||||
|
public static let v17 = Self(for: .v17)
|
||||||
}
|
}
|
||||||
#elseif canImport(AppKit)
|
#elseif canImport(AppKit)
|
||||||
extension macOSViewVersion<ScrollViewType, NSScrollView> {
|
extension macOSViewVersion<ScrollViewType, NSScrollView> {
|
||||||
|
@ -28,5 +30,6 @@ extension macOSViewVersion<ScrollViewType, NSScrollView> {
|
||||||
public static let v11 = Self(for: .v11)
|
public static let v11 = Self(for: .v11)
|
||||||
public static let v12 = Self(for: .v12)
|
public static let v12 = Self(for: .v12)
|
||||||
public static let v13 = Self(for: .v13)
|
public static let v13 = Self(for: .v13)
|
||||||
|
public static let v14 = Self(for: .v14)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -16,6 +16,7 @@ extension iOSViewVersion<SearchFieldType, UISearchBar> {
|
||||||
public static let v14 = Self.unavailable()
|
public static let v14 = Self.unavailable()
|
||||||
public static let v15 = Self(for: .v15, selector: selector)
|
public static let v15 = Self(for: .v15, selector: selector)
|
||||||
public static let v16 = Self(for: .v16, 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<UISearchBar> {
|
private static var selector: IntrospectionSelector<UISearchBar> {
|
||||||
.from(UINavigationController.self) {
|
.from(UINavigationController.self) {
|
||||||
|
@ -31,6 +32,7 @@ extension tvOSViewVersion<SearchFieldType, UISearchBar> {
|
||||||
public static let v14 = Self.unavailable()
|
public static let v14 = Self.unavailable()
|
||||||
public static let v15 = Self(for: .v15, selector: selector)
|
public static let v15 = Self(for: .v15, selector: selector)
|
||||||
public static let v16 = Self(for: .v16, 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<UISearchBar> {
|
private static var selector: IntrospectionSelector<UISearchBar> {
|
||||||
.from(UINavigationController.self) {
|
.from(UINavigationController.self) {
|
||||||
|
|
|
@ -15,6 +15,7 @@ extension iOSViewVersion<SliderType, UISlider> {
|
||||||
public static let v14 = Self(for: .v14)
|
public static let v14 = Self(for: .v14)
|
||||||
public static let v15 = Self(for: .v15)
|
public static let v15 = Self(for: .v15)
|
||||||
public static let v16 = Self(for: .v16)
|
public static let v16 = Self(for: .v16)
|
||||||
|
public static let v17 = Self(for: .v17)
|
||||||
}
|
}
|
||||||
#elseif canImport(AppKit)
|
#elseif canImport(AppKit)
|
||||||
extension macOSViewVersion<SliderType, NSSlider> {
|
extension macOSViewVersion<SliderType, NSSlider> {
|
||||||
|
@ -22,6 +23,7 @@ extension macOSViewVersion<SliderType, NSSlider> {
|
||||||
public static let v11 = Self(for: .v11)
|
public static let v11 = Self(for: .v11)
|
||||||
public static let v12 = Self(for: .v12)
|
public static let v12 = Self(for: .v12)
|
||||||
public static let v13 = Self(for: .v13)
|
public static let v13 = Self(for: .v13)
|
||||||
|
public static let v14 = Self(for: .v14)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -15,6 +15,7 @@ extension iOSViewVersion<StepperType, UIStepper> {
|
||||||
public static let v14 = Self(for: .v14)
|
public static let v14 = Self(for: .v14)
|
||||||
public static let v15 = Self(for: .v15)
|
public static let v15 = Self(for: .v15)
|
||||||
public static let v16 = Self(for: .v16)
|
public static let v16 = Self(for: .v16)
|
||||||
|
public static let v17 = Self(for: .v17)
|
||||||
}
|
}
|
||||||
#elseif canImport(AppKit)
|
#elseif canImport(AppKit)
|
||||||
extension macOSViewVersion<StepperType, NSStepper> {
|
extension macOSViewVersion<StepperType, NSStepper> {
|
||||||
|
@ -22,6 +23,7 @@ extension macOSViewVersion<StepperType, NSStepper> {
|
||||||
public static let v11 = Self(for: .v11)
|
public static let v11 = Self(for: .v11)
|
||||||
public static let v12 = Self(for: .v12)
|
public static let v12 = Self(for: .v12)
|
||||||
public static let v13 = Self(for: .v13)
|
public static let v13 = Self(for: .v13)
|
||||||
|
public static let v14 = Self(for: .v14)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -14,6 +14,7 @@ extension iOSViewVersion<TabViewType, UITabBarController> {
|
||||||
public static let v14 = Self(for: .v14, selector: selector)
|
public static let v14 = Self(for: .v14, selector: selector)
|
||||||
public static let v15 = Self(for: .v15, selector: selector)
|
public static let v15 = Self(for: .v15, selector: selector)
|
||||||
public static let v16 = Self(for: .v16, 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<UITabBarController> {
|
private static var selector: IntrospectionSelector<UITabBarController> {
|
||||||
.default.withAncestorSelector(\.tabBarController)
|
.default.withAncestorSelector(\.tabBarController)
|
||||||
|
@ -25,6 +26,7 @@ extension tvOSViewVersion<TabViewType, UITabBarController> {
|
||||||
public static let v14 = Self(for: .v14, selector: selector)
|
public static let v14 = Self(for: .v14, selector: selector)
|
||||||
public static let v15 = Self(for: .v15, selector: selector)
|
public static let v15 = Self(for: .v15, selector: selector)
|
||||||
public static let v16 = Self(for: .v16, 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<UITabBarController> {
|
private static var selector: IntrospectionSelector<UITabBarController> {
|
||||||
.default.withAncestorSelector(\.tabBarController)
|
.default.withAncestorSelector(\.tabBarController)
|
||||||
|
@ -36,5 +38,6 @@ extension macOSViewVersion<TabViewType, NSTabView> {
|
||||||
public static let v11 = Self(for: .v11)
|
public static let v11 = Self(for: .v11)
|
||||||
public static let v12 = Self(for: .v12)
|
public static let v12 = Self(for: .v12)
|
||||||
public static let v13 = Self(for: .v13)
|
public static let v13 = Self(for: .v13)
|
||||||
|
public static let v14 = Self(for: .v14)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -20,6 +20,7 @@ extension iOSViewVersion<TabViewWithPageStyleType, UICollectionView> {
|
||||||
public static let v14 = Self(for: .v14)
|
public static let v14 = Self(for: .v14)
|
||||||
public static let v15 = Self(for: .v15)
|
public static let v15 = Self(for: .v15)
|
||||||
public static let v16 = Self(for: .v16)
|
public static let v16 = Self(for: .v16)
|
||||||
|
public static let v17 = Self(for: .v17)
|
||||||
}
|
}
|
||||||
|
|
||||||
extension tvOSViewVersion<TabViewWithPageStyleType, UICollectionView> {
|
extension tvOSViewVersion<TabViewWithPageStyleType, UICollectionView> {
|
||||||
|
@ -28,6 +29,7 @@ extension tvOSViewVersion<TabViewWithPageStyleType, UICollectionView> {
|
||||||
public static let v14 = Self(for: .v14)
|
public static let v14 = Self(for: .v14)
|
||||||
public static let v15 = Self(for: .v15)
|
public static let v15 = Self(for: .v15)
|
||||||
public static let v16 = Self(for: .v16)
|
public static let v16 = Self(for: .v16)
|
||||||
|
public static let v17 = Self(for: .v17)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -18,6 +18,7 @@ extension iOSViewVersion<TableType, UICollectionView> {
|
||||||
@available(*, unavailable, message: "Table isn't available on iOS 15")
|
@available(*, unavailable, message: "Table isn't available on iOS 15")
|
||||||
public static let v15 = Self(for: .v15)
|
public static let v15 = Self(for: .v15)
|
||||||
public static let v16 = Self(for: .v16)
|
public static let v16 = Self(for: .v16)
|
||||||
|
public static let v17 = Self(for: .v17)
|
||||||
}
|
}
|
||||||
#elseif canImport(AppKit) && !targetEnvironment(macCatalyst)
|
#elseif canImport(AppKit) && !targetEnvironment(macCatalyst)
|
||||||
extension macOSViewVersion<TableType, NSTableView> {
|
extension macOSViewVersion<TableType, NSTableView> {
|
||||||
|
@ -27,6 +28,7 @@ extension macOSViewVersion<TableType, NSTableView> {
|
||||||
public static let v11 = Self(for: .v11)
|
public static let v11 = Self(for: .v11)
|
||||||
public static let v12 = Self(for: .v12)
|
public static let v12 = Self(for: .v12)
|
||||||
public static let v13 = Self(for: .v13)
|
public static let v13 = Self(for: .v13)
|
||||||
|
public static let v14 = Self(for: .v14)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -16,6 +16,7 @@ extension iOSViewVersion<TextEditorType, UITextView> {
|
||||||
public static let v14 = Self(for: .v14)
|
public static let v14 = Self(for: .v14)
|
||||||
public static let v15 = Self(for: .v15)
|
public static let v15 = Self(for: .v15)
|
||||||
public static let v16 = Self(for: .v16)
|
public static let v16 = Self(for: .v16)
|
||||||
|
public static let v17 = Self(for: .v17)
|
||||||
}
|
}
|
||||||
#elseif canImport(AppKit)
|
#elseif canImport(AppKit)
|
||||||
extension macOSViewVersion<TextEditorType, NSTextView> {
|
extension macOSViewVersion<TextEditorType, NSTextView> {
|
||||||
|
@ -24,6 +25,7 @@ extension macOSViewVersion<TextEditorType, NSTextView> {
|
||||||
public static let v11 = Self(for: .v11)
|
public static let v11 = Self(for: .v11)
|
||||||
public static let v12 = Self(for: .v12)
|
public static let v12 = Self(for: .v12)
|
||||||
public static let v13 = Self(for: .v13)
|
public static let v13 = Self(for: .v13)
|
||||||
|
public static let v14 = Self(for: .v14)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -14,6 +14,7 @@ extension iOSViewVersion<TextFieldType, UITextField> {
|
||||||
public static let v14 = Self(for: .v14)
|
public static let v14 = Self(for: .v14)
|
||||||
public static let v15 = Self(for: .v15)
|
public static let v15 = Self(for: .v15)
|
||||||
public static let v16 = Self(for: .v16)
|
public static let v16 = Self(for: .v16)
|
||||||
|
public static let v17 = Self(for: .v17)
|
||||||
}
|
}
|
||||||
|
|
||||||
extension tvOSViewVersion<TextFieldType, UITextField> {
|
extension tvOSViewVersion<TextFieldType, UITextField> {
|
||||||
|
@ -21,6 +22,7 @@ extension tvOSViewVersion<TextFieldType, UITextField> {
|
||||||
public static let v14 = Self(for: .v14)
|
public static let v14 = Self(for: .v14)
|
||||||
public static let v15 = Self(for: .v15)
|
public static let v15 = Self(for: .v15)
|
||||||
public static let v16 = Self(for: .v16)
|
public static let v16 = Self(for: .v16)
|
||||||
|
public static let v17 = Self(for: .v17)
|
||||||
}
|
}
|
||||||
#elseif canImport(AppKit)
|
#elseif canImport(AppKit)
|
||||||
extension macOSViewVersion<TextFieldType, NSTextField> {
|
extension macOSViewVersion<TextFieldType, NSTextField> {
|
||||||
|
@ -28,5 +30,6 @@ extension macOSViewVersion<TextFieldType, NSTextField> {
|
||||||
public static let v11 = Self(for: .v11)
|
public static let v11 = Self(for: .v11)
|
||||||
public static let v12 = Self(for: .v12)
|
public static let v12 = Self(for: .v12)
|
||||||
public static let v13 = Self(for: .v13)
|
public static let v13 = Self(for: .v13)
|
||||||
|
public static let v14 = Self(for: .v14)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -24,6 +24,7 @@ extension iOSViewVersion<TextFieldWithVerticalAxisType, UITextView> {
|
||||||
public static let v15 = Self.unavailable()
|
public static let v15 = Self.unavailable()
|
||||||
|
|
||||||
public static let v16 = Self(for: .v16)
|
public static let v16 = Self(for: .v16)
|
||||||
|
public static let v17 = Self(for: .v17)
|
||||||
}
|
}
|
||||||
|
|
||||||
extension tvOSViewVersion<TextFieldWithVerticalAxisType, UITextField> {
|
extension tvOSViewVersion<TextFieldWithVerticalAxisType, UITextField> {
|
||||||
|
@ -35,6 +36,7 @@ extension tvOSViewVersion<TextFieldWithVerticalAxisType, UITextField> {
|
||||||
public static let v15 = Self.unavailable()
|
public static let v15 = Self.unavailable()
|
||||||
|
|
||||||
public static let v16 = Self(for: .v16)
|
public static let v16 = Self(for: .v16)
|
||||||
|
public static let v17 = Self(for: .v17)
|
||||||
}
|
}
|
||||||
#elseif canImport(AppKit)
|
#elseif canImport(AppKit)
|
||||||
extension macOSViewVersion<TextFieldWithVerticalAxisType, NSTextField> {
|
extension macOSViewVersion<TextFieldWithVerticalAxisType, NSTextField> {
|
||||||
|
@ -46,5 +48,6 @@ extension macOSViewVersion<TextFieldWithVerticalAxisType, NSTextField> {
|
||||||
public static let v12 = Self.unavailable()
|
public static let v12 = Self.unavailable()
|
||||||
|
|
||||||
public static let v13 = Self(for: .v13)
|
public static let v13 = Self(for: .v13)
|
||||||
|
public static let v14 = Self(for: .v14)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -15,6 +15,7 @@ extension iOSViewVersion<ToggleType, UISwitch> {
|
||||||
public static let v14 = Self(for: .v14)
|
public static let v14 = Self(for: .v14)
|
||||||
public static let v15 = Self(for: .v15)
|
public static let v15 = Self(for: .v15)
|
||||||
public static let v16 = Self(for: .v16)
|
public static let v16 = Self(for: .v16)
|
||||||
|
public static let v17 = Self(for: .v17)
|
||||||
}
|
}
|
||||||
#elseif canImport(AppKit)
|
#elseif canImport(AppKit)
|
||||||
extension macOSViewVersion<ToggleType, NSButton> {
|
extension macOSViewVersion<ToggleType, NSButton> {
|
||||||
|
@ -22,6 +23,7 @@ extension macOSViewVersion<ToggleType, NSButton> {
|
||||||
public static let v11 = Self(for: .v11)
|
public static let v11 = Self(for: .v11)
|
||||||
public static let v12 = Self(for: .v12)
|
public static let v12 = Self(for: .v12)
|
||||||
public static let v13 = Self(for: .v13)
|
public static let v13 = Self(for: .v13)
|
||||||
|
public static let v14 = Self(for: .v14)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -21,6 +21,7 @@ extension macOSViewVersion<ToggleWithButtonStyleType, NSButton> {
|
||||||
public static let v11 = Self.unavailable()
|
public static let v11 = Self.unavailable()
|
||||||
public static let v12 = Self(for: .v12)
|
public static let v12 = Self(for: .v12)
|
||||||
public static let v13 = Self(for: .v13)
|
public static let v13 = Self(for: .v13)
|
||||||
|
public static let v14 = Self(for: .v14)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -19,6 +19,7 @@ extension macOSViewVersion<ToggleWithCheckboxStyleType, NSButton> {
|
||||||
public static let v11 = Self(for: .v11)
|
public static let v11 = Self(for: .v11)
|
||||||
public static let v12 = Self(for: .v12)
|
public static let v12 = Self(for: .v12)
|
||||||
public static let v13 = Self(for: .v13)
|
public static let v13 = Self(for: .v13)
|
||||||
|
public static let v14 = Self(for: .v14)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -19,6 +19,7 @@ extension iOSViewVersion<ToggleWithSwitchStyleType, UISwitch> {
|
||||||
public static let v14 = Self(for: .v14)
|
public static let v14 = Self(for: .v14)
|
||||||
public static let v15 = Self(for: .v15)
|
public static let v15 = Self(for: .v15)
|
||||||
public static let v16 = Self(for: .v16)
|
public static let v16 = Self(for: .v16)
|
||||||
|
public static let v17 = Self(for: .v17)
|
||||||
}
|
}
|
||||||
#elseif canImport(AppKit)
|
#elseif canImport(AppKit)
|
||||||
extension macOSViewVersion<ToggleWithSwitchStyleType, NSSwitch> {
|
extension macOSViewVersion<ToggleWithSwitchStyleType, NSSwitch> {
|
||||||
|
@ -26,6 +27,7 @@ extension macOSViewVersion<ToggleWithSwitchStyleType, NSSwitch> {
|
||||||
public static let v11 = Self(for: .v11)
|
public static let v11 = Self(for: .v11)
|
||||||
public static let v12 = Self(for: .v12)
|
public static let v12 = Self(for: .v12)
|
||||||
public static let v13 = Self(for: .v13)
|
public static let v13 = Self(for: .v13)
|
||||||
|
public static let v14 = Self(for: .v14)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -16,6 +16,7 @@ extension iOSViewVersion<ViewType, UIViewController> {
|
||||||
public static let v14 = Self(for: .v14)
|
public static let v14 = Self(for: .v14)
|
||||||
public static let v15 = Self(for: .v15)
|
public static let v15 = Self(for: .v15)
|
||||||
public static let v16 = Self(for: .v16)
|
public static let v16 = Self(for: .v16)
|
||||||
|
public static let v17 = Self(for: .v17)
|
||||||
}
|
}
|
||||||
|
|
||||||
extension tvOSViewVersion<ViewType, UIViewController> {
|
extension tvOSViewVersion<ViewType, UIViewController> {
|
||||||
|
@ -23,5 +24,6 @@ extension tvOSViewVersion<ViewType, UIViewController> {
|
||||||
public static let v14 = Self(for: .v14)
|
public static let v14 = Self(for: .v14)
|
||||||
public static let v15 = Self(for: .v15)
|
public static let v15 = Self(for: .v15)
|
||||||
public static let v16 = Self(for: .v16)
|
public static let v16 = Self(for: .v16)
|
||||||
|
public static let v17 = Self(for: .v17)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue