Skip to content

Commit

Permalink
Demo: Using 'class' keyword to define a class-constrained protocol is…
Browse files Browse the repository at this point in the history
… deprecated; use 'AnyObject' instead

refs artemkrachulov#41
  • Loading branch information
ykws committed Jan 18, 2022
1 parent 0fa9ae3 commit 083e419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AKImageCropperView/AKImageCropperOverlayView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

import UIKit

protocol AKImageCropperOverlayViewDelegate : class {
protocol AKImageCropperOverlayViewDelegate : AnyObject {
func cropperOverlayViewDidChangeCropRect(_ view: AKImageCropperOverlayView, _ cropRect: CGRect)
}

Expand Down

0 comments on commit 083e419

Please sign in to comment.