Repository navigation
V7 Roadmap
#117
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
New Features
There are many requests for other styles/code kinds, so probably some architectural redesign that's more modular to allow more customizations.
Archtecture Redesign (Draft)
The current generator handles a lot of functionality, and its complex behavior is only adjustable by the parameters it decides to expose, and all customizations have to be offered by us. Instead, we should consider composition.
The generator can probably be divided into 2 steps:
CodePointGenerator, where input is the content and output is some 2D Bool array (or other types)EFQRCodePointGeneratorCodePointRenderer, where input is 2D bool array and can output to some sort of canvas (CGContext, SwiftUI canvas, ...)Additionally, to make implementing renderer easier, the core library should provide helpers like
QRCodePointutilityObsoleted
obsoletedinstead ofdeprecated.EFQRCodeMode.nonewill be officially replaced byEFQRCodeMode?.none(i.e.nil), with a public static let that shows it's been renamed tonil.All reactions