File tree Expand file tree Collapse file tree 3 files changed +5
-7
lines changed
Sources/SplitScreenScanner/Classes Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 1
1
PODS:
2
2
- Sections (0.8.0)
3
- - SplitScreenScanner (10.0.1 ):
3
+ - SplitScreenScanner (10.0.2 ):
4
4
- Sections
5
5
6
6
DEPENDENCIES:
@@ -16,7 +16,7 @@ EXTERNAL SOURCES:
16
16
17
17
SPEC CHECKSUMS:
18
18
Sections: efc268a207d0e7afba82d2a0efd6cdf61872b5d4
19
- SplitScreenScanner: 0d29bfafba196306adcea80cb541e66e0c264abd
19
+ SplitScreenScanner: 013b34ebf4af03a51e2685a7f87051c9f2cdb6b3
20
20
21
21
PODFILE CHECKSUM: a50e47e37e36a517f8de6ae75d836fb0fdfdecfd
22
22
Original file line number Diff line number Diff line change @@ -35,8 +35,7 @@ final class ContinuousBarcodeScanner {
35
35
metadataOutput. setMetadataObjectsDelegate ( self , queue: metadataQueue)
36
36
}
37
37
38
- func startRunning( rectOfInterest: CGRect , _ barcodeScannedClosure: @escaping BarcodeScannedClosure ) {
39
- metadataOutput. rectOfInterest = rectOfInterest
38
+ func startRunning( barcodeScannedClosure: @escaping BarcodeScannedClosure ) {
40
39
metadataOutput. metadataObjectTypes = metadataOutput. availableMetadataObjectTypes
41
40
self . barcodeScannedClosure = barcodeScannedClosure
42
41
}
@@ -162,8 +161,7 @@ extension ContinuousBarcodeScanner {
162
161
func startRunning( ) {
163
162
captureSession. startRunning ( )
164
163
165
- let rectOfInterest = previewLayer. metadataOutputRectConverted ( fromLayerRect: previewView. bounds)
166
- metadataCapture. startRunning ( rectOfInterest: rectOfInterest) { [ weak self] barcodeObject in
164
+ metadataCapture. startRunning { [ weak self] barcodeObject in
167
165
self ? . delegate? . didScan ( barcode: barcodeObject. stringValue ?? " " )
168
166
self ? . addBarcodeOverlayViewFor ( barcodeObject: barcodeObject)
169
167
}
Original file line number Diff line number Diff line change 8
8
9
9
Pod ::Spec . new do |s |
10
10
s . name = 'SplitScreenScanner'
11
- s . version = '10.0.1 '
11
+ s . version = '10.0.2 '
12
12
s . summary = 'Swift library for scanning barcodes with half the screen devoted to scan history'
13
13
14
14
# This description is used to generate tags and improve search results.
You can’t perform that action at this time.
0 commit comments