We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11dd17b commit 24ffca4Copy full SHA for 24ffca4
Sources/CodeScanner/ScannerViewController.swift
@@ -12,7 +12,7 @@ import UIKit
12
@available(macCatalyst 14.0, *)
13
extension CodeScannerView {
14
15
- public class ScannerViewController: UIViewController, UINavigationControllerDelegate {
+ public final class ScannerViewController: UIViewController, UINavigationControllerDelegate {
16
private let photoOutput = AVCapturePhotoOutput()
17
private var isCapturing = false
18
private var handler: ((UIImage?) -> Void)?
@@ -174,7 +174,7 @@ extension CodeScannerView {
174
}
175
176
private func setupSession() {
177
- guard let captureSession = captureSession else {
+ guard let captureSession else {
178
return
179
180
0 commit comments