Fix class keyword deprecation warnings everywhere!

Using 'class' keyword for protocol inheritance is deprecated; use 'AnyObject' instead
This commit is contained in:
Doug
2021-07-09 17:05:43 +01:00
parent cd6e88dfea
commit a4075c89cb
128 changed files with 165 additions and 165 deletions

View File

@@ -17,7 +17,7 @@
import UIKit
import ZXingObjC
protocol QRCodeReaderViewControllerDelegate: class {
protocol QRCodeReaderViewControllerDelegate: AnyObject {
func qrCodeReaderViewController(_ viewController: QRCodeReaderViewController, didFound payloadData: Data)
func qrCodeReaderViewControllerDidCancel(_ viewController: QRCodeReaderViewController)
}