From dbef44340983b90a7c1a70257ec10e2d1c20bdd3 Mon Sep 17 00:00:00 2001 From: Marcus Isinger Date: Mon, 11 Mar 2024 14:54:33 +0100 Subject: [PATCH] Update HorizontalPanGesture.swift deprecated usage in swift 5.9, updated to remove warning. --- Sources/SlidingRuler/HorizontalPanGesture.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/SlidingRuler/HorizontalPanGesture.swift b/Sources/SlidingRuler/HorizontalPanGesture.swift index 56260b5..ab1533b 100644 --- a/Sources/SlidingRuler/HorizontalPanGesture.swift +++ b/Sources/SlidingRuler/HorizontalPanGesture.swift @@ -38,7 +38,7 @@ struct HorizontalDragGestureValue { let location: CGPoint } -protocol HorizontalPanGestureReceiverViewDelegate: class { +protocol HorizontalPanGestureReceiverViewDelegate: AnyObject { func viewTouchedWithoutPan(_ view: UIView) }