Support Xcode 15.3

This commit is contained in:
Isaac
2024-04-02 19:16:00 +04:00
parent 8bd001556b
commit efae3b90a7
112 changed files with 510 additions and 229 deletions

View File

@@ -294,7 +294,7 @@ private final class ReplaceBoostScreenComponent: CombinedComponent {
}
public class ReplaceBoostScreen: ViewController {
final class Node: ViewControllerTracingNode, UIScrollViewDelegate, UIGestureRecognizerDelegate {
final class Node: ViewControllerTracingNode, ASScrollViewDelegate, ASGestureRecognizerDelegate {
private var presentationData: PresentationData
private weak var controller: ReplaceBoostScreen?
@@ -345,7 +345,7 @@ public class ReplaceBoostScreen: ViewController {
super.init()
self.scrollView.delegate = self
self.scrollView.delegate = self.wrappedScrollViewDelegate
self.scrollView.showsVerticalScrollIndicator = false
self.containerView.clipsToBounds = true
@@ -373,7 +373,7 @@ public class ReplaceBoostScreen: ViewController {
super.didLoad()
let panRecognizer = UIPanGestureRecognizer(target: self, action: #selector(self.panGesture(_:)))
panRecognizer.delegate = self
panRecognizer.delegate = self.wrappedGestureRecognizerDelegate
panRecognizer.delaysTouchesBegan = false
panRecognizer.cancelsTouchesInView = true
self.panGestureRecognizer = panRecognizer