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) }