Created
December 24, 2016 01:44
-
-
Save danielCarlosCE/4c728d3a95c09ec8b51b981dcc7feb2e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extension AVCodeReader: CodeReader { | |
func startReading(completion: @escaping (String) -> Void) { | |
self.didRead = completion | |
captureSession?.startRunning() | |
} | |
func stopReading() { | |
captureSession?.stopRunning() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment