Skip to content

Commit

Permalink
duplicated typealias
Browse files Browse the repository at this point in the history
  • Loading branch information
Łukasz Szarkowicz committed Mar 12, 2018
1 parent 7e0ea3e commit a5c37f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion QuickScanner/Sources/QuickScanner+Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
import Foundation
import AVFoundation

public typealias BarcodeType = AVMetadataObject.ObjectType
public typealias CameraPosition = AVCaptureDevice.Position
public typealias CodeType = AVMetadataObject.ObjectType

2 changes: 1 addition & 1 deletion QuickScanner/Sources/QuickScannerDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public protocol QuickScannerDelegate: class {

var videoPreview: UIView { get }

func quickScanner(_ scanner: QuickScanner, didCaptureCode code: String, type: BarcodeType)
func quickScanner(_ scanner: QuickScanner, didCaptureCode code: String, type: CodeType)
func quickScanner(_ scanner: QuickScanner, didReceiveError error: Error)
func quickScannerDidSetup(_ scanner: QuickScanner)
func quickScannerDidEndScanning(_ scanner: QuickScanner)
Expand Down

0 comments on commit a5c37f5

Please sign in to comment.