-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash on force unwrap of corners #105
Comments
Got the same error RSCornersLayer.swift -> 41 To fix it replace:
with:
|
Please create new branch (or fork) to fix it with the above solution. |
@akuehlewind Please create pull request to merge it on the master And how to install this solution from Cocoa pod? The current profile has: pod 'RSBarcodes_Swift', :git => 'git@github.com:yeahdongcn/RSBarcodes_Swift.git', :branch => 'master' Thanks |
@yeahdongcn Please accept the pull request to fix this crash if it is a correct solution. |
In 'draw' function of RSCornersLayer.swift,
let dict = corners[idx] as! NSDictionary force cast causing a crash.
When scanning a barcode, this causes a hard crash.
The text was updated successfully, but these errors were encountered: