We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Thanks for sharing.
My suggestion is to make API a little bit more readable by adding couple of classes: Icon and Watermark.
Icon
Watermark
Then, instead:
EFQRCode.generate( content: String, inputCorrectionLevel: EFInputCorrectionLevel, size: CGFloat, magnification: UInt?, backgroundColor: UIColor, foregroundColor: UIColor, icon: UIImage?, iconSize: CGFloat?, isIconColorful: Bool, watermark: UIImage?, watermarkMode: EFWatermarkMode, isWatermarkColorful: Bool )
It will be
EFQRCode.generate( content: String, correction: EFInputCorrectionLevel, size: CGFloat, magnification: UInt?, backgroundColor: UIColor, foregroundColor: UIColor, icon: Icon(image: UIImage, size: CGFloat, colorful: Bool)?, watermark: Watermark(image: UIImage, mode: EFWatermarkMode, colorful: Bool)? )
The text was updated successfully, but these errors were encountered:
Oh, this is a good idea, I will think about this and add this in the future, maybe next release, thanks, 👍🏻
Sorry, something went wrong.
Fixed in 1.2.1.
No branches or pull requests
Thanks for sharing.
My suggestion is to make API a little bit more readable by adding couple of classes:
Icon
andWatermark
.Then, instead:
It will be
The text was updated successfully, but these errors were encountered: