EFPrefix / EFQRCode

A better way to operate QR Code in Swift, support iOS, macOS, watchOS and tvOS.
https://efprefix.github.io/EFQRCode
MIT License
4.58k stars 485 forks source link

Support generating barcode type CICode128BarcodeGenerator #64

Closed zalewskise closed 5 years ago

zalewskise commented 5 years ago

Is it possible to generate CICode128BarcodeGenerator on watchOS? CIFilter is not available and I don't want to create barcode on the iPhone and send it later to watch. Is it possible with EFQRCode?

ApolloZhu commented 5 years ago

EFQRCode does not support anything other than QR code on any platform currently #63

ApolloZhu commented 5 years ago

Wait for this year’s WWDC to see if watchOS is going to be more independent ;)

zalewskise commented 5 years ago

Wait for this year’s WWDC to see if watchOS is going to be more independent ;)

Hmm I believe they decided to make watchOS more independent but there is still no way to generate 2d barcode on apple watch itself, right?

ApolloZhu commented 5 years ago

You are right...

So here’s the thing: support for QRCode generation is achieved through swift_qrcodejs. I would recommend finding another/or creating your own library that generates barcode with pure Swift or in another language.

EFQRCode is more focused on the styling aspect of QRCode generation and majority of the code are tailored to accomplish that task, therefore I don’t see it adding support for another format in the near future (probably why #63 is closed)