File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
@_spi ( package ) import NavigationTransition
2
- import RuntimeAssociation
3
- import RuntimeSwizzling
2
+ @ _implementationOnly import RuntimeAssociation
3
+ @ _implementationOnly import RuntimeSwizzling
4
4
import UIKit
5
5
6
6
extension AnyNavigationTransition {
@@ -117,7 +117,7 @@ extension RandomAccessCollection where Index == Int {
117
117
}
118
118
}
119
119
120
- extension UINavigationController : RuntimeAssociation {
120
+ extension UINavigationController {
121
121
private var defaultDelegate : UINavigationControllerDelegate ! {
122
122
get { self [ ] }
123
123
set { self [ ] = newValue }
@@ -251,7 +251,7 @@ extension UINavigationController {
251
251
}
252
252
253
253
@available ( tvOS, unavailable)
254
- extension UIGestureRecognizer : RuntimeAssociation {
254
+ extension UIGestureRecognizer {
255
255
var strongDelegate : UIGestureRecognizerDelegate ? {
256
256
get { self [ ] }
257
257
set {
Original file line number Diff line number Diff line change @@ -16,3 +16,5 @@ extension RuntimeAssociation {
16
16
}
17
17
}
18
18
}
19
+
20
+ extension NSObject : RuntimeAssociation { }
You can’t perform that action at this time.
0 commit comments