From 083e4193abe963afec7f34c629a94e28ce486b1a Mon Sep 17 00:00:00 2001 From: KAWASHIMA Yoshiyuki Date: Tue, 18 Jan 2022 11:26:18 +0900 Subject: [PATCH] Demo: Using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead refs #41 --- AKImageCropperView/AKImageCropperOverlayView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AKImageCropperView/AKImageCropperOverlayView.swift b/AKImageCropperView/AKImageCropperOverlayView.swift index 12fc350..22b9b1e 100644 --- a/AKImageCropperView/AKImageCropperOverlayView.swift +++ b/AKImageCropperView/AKImageCropperOverlayView.swift @@ -23,7 +23,7 @@ import UIKit -protocol AKImageCropperOverlayViewDelegate : class { +protocol AKImageCropperOverlayViewDelegate : AnyObject { func cropperOverlayViewDidChangeCropRect(_ view: AKImageCropperOverlayView, _ cropRect: CGRect) }