hyperoslo / hyperoslo/BarcodeScanner
StateMessageProvider initializers
- Dominant language
- Swift
- Stars
- 1.7k
- Forks
- 383
- PR merge metrics
- No merged PRs in 30d
Description
Greetings,
thanks for the performant library with support for the number of barcodes!
I'm writing this "issue" to ask whether you can implement a public default and public parametric initializer for _StateMessageProvider_ struct?
The reasons are:
1. Swift does not allow instantiation of the public struct from another project (I am using CocoaPods) even though the struct is public, along with its properties.
2. Not using the stock languages in the application, or not using the same messages for the barcode scanner.
3. Enabling the instantiation of the public struct and customizing the properties on an instance.
4. Enabling the instantiation of the public struct with all supplied text constants.

Thanks for the consideration.
Best regards
Contributor guide
Assessment
This issue has not been assessed yet.