@@ -14,17 +14,25 @@ extension IntrospectableViewType where Self == NavigationViewWithColumnsStyleTyp
14
14
15
15
#if canImport(UIKit)
16
16
extension iOSViewVersion < NavigationViewWithColumnsStyleType , UISplitViewController > {
17
- public static let v13 = Self ( for: . v13)
18
- public static let v14 = Self ( for: . v14)
19
- public static let v15 = Self ( for: . v15)
20
- public static let v16 = Self ( for: . v16)
17
+ public static let v13 = Self ( for: . v13, selector: selector)
18
+ public static let v14 = Self ( for: . v14, selector: selector)
19
+ public static let v15 = Self ( for: . v15, selector: selector)
20
+ public static let v16 = Self ( for: . v16, selector: selector)
21
+
22
+ private static var selector : IntrospectionSelector < UISplitViewController > {
23
+ . default. withAncestorSelector ( \. splitViewController)
24
+ }
21
25
}
22
26
23
27
extension tvOSViewVersion < NavigationViewWithColumnsStyleType , UINavigationController > {
24
- public static let v13 = Self ( for: . v13)
25
- public static let v14 = Self ( for: . v14)
26
- public static let v15 = Self ( for: . v15)
27
- public static let v16 = Self ( for: . v16)
28
+ public static let v13 = Self ( for: . v13, selector: selector)
29
+ public static let v14 = Self ( for: . v14, selector: selector)
30
+ public static let v15 = Self ( for: . v15, selector: selector)
31
+ public static let v16 = Self ( for: . v16, selector: selector)
32
+
33
+ private static var selector : IntrospectionSelector < UINavigationController > {
34
+ . default. withAncestorSelector ( \. navigationController)
35
+ }
28
36
}
29
37
#elseif canImport(AppKit)
30
38
extension macOSViewVersion < NavigationViewWithColumnsStyleType , NSSplitView > {
0 commit comments