Skip to content

Commit a5c37f5

Browse files
author
Łukasz Szarkowicz
committed
duplicated typealias
1 parent 7e0ea3e commit a5c37f5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

QuickScanner/Sources/QuickScanner+Types.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
import Foundation
1010
import AVFoundation
1111

12-
public typealias BarcodeType = AVMetadataObject.ObjectType
1312
public typealias CameraPosition = AVCaptureDevice.Position
1413
public typealias CodeType = AVMetadataObject.ObjectType
14+

QuickScanner/Sources/QuickScannerDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public protocol QuickScannerDelegate: class {
1313

1414
var videoPreview: UIView { get }
1515

16-
func quickScanner(_ scanner: QuickScanner, didCaptureCode code: String, type: BarcodeType)
16+
func quickScanner(_ scanner: QuickScanner, didCaptureCode code: String, type: CodeType)
1717
func quickScanner(_ scanner: QuickScanner, didReceiveError error: Error)
1818
func quickScannerDidSetup(_ scanner: QuickScanner)
1919
func quickScannerDidEndScanning(_ scanner: QuickScanner)

0 commit comments

Comments
 (0)