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
Swift 5 support ? #160
Comments
or even SwiftUI, that would be awesome |
I am currently using BarcodeScanner in a SwiftUI project and haven't had any issues so far. |
@CLoutas I am trying to use BarcodeScanner in a SwiftUI project. I currently have it displaying using a wrapper but my delegates (code, error, dismiss) never run. Any advice you can give I would be greatful! |
@ecamodeo are you using a Coordinator object as your delegates? If not, have a look at this: https://www.hackingwithswift.com/books/ios-swiftui/using-coordinators-to-manage-swiftui-view-controllers |
@CLoutas I appreciate the time and apologize as I am kind of new to this whole thing but here is what I have for my Coordinator.
} |
I'm having two objects, first the actual view (not full code, but should have everything you need):
And here is my coordinator (again, not full code):
} Let me know if this helps! |
@CLoutas Thank you so much for your help and time! Works great. |
Perfect, happy to hear that helped! You’re welcome 🙂 |
No description provided.
The text was updated successfully, but these errors were encountered: