Enable SwiftLint rule 'weak_delegate' and fix all violations
This commit is contained in:
parent
c5e88d82c9
commit
e1cb280d4a
5 changed files with 6 additions and 6 deletions
|
|
@ -26,7 +26,7 @@ class QRScannerController: UIViewController, AVCaptureMetadataOutputObjectsDeleg
|
|||
|
||||
let supportedCodeTypes = [AVMetadataObject.ObjectType.qr]
|
||||
|
||||
var delegate: QRScannerControllerDelegate?
|
||||
weak var delegate: QRScannerControllerDelegate?
|
||||
|
||||
override func viewDidLoad() {
|
||||
super.viewDidLoad()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue