Giter VIP home page Giter VIP logo

Comments (6)

huntermonk avatar huntermonk commented on August 28, 2024

You can actually just pass "org.iso.PDF417" (what AVMetadataObjectTypePDF417Code resolves to). Hopefully this will be fixed.

from rsbarcodes_swift.

yeahdongcn avatar yeahdongcn commented on August 28, 2024

You can generate PDF417 image by calling

    let pdf417r = g.generateCode("123456", machineReadableCodeObjectType: AVMetadataObjectTypePDF417Code)
    XCTAssert(pdf417r != nil, "Pass PDF417")

from rsbarcodes_swift.

huntermonk avatar huntermonk commented on August 28, 2024

Unfortunately none of the AVMetadataObjectType strings are being exposed for me. I'm guessing this is the problem that @ufoloko is having.

I've had to go into the code and see what AVMetadataObjectTypePDF417Code resolves to make this work.

Would you like me to open up a separate issue @yeahdongcn?

from rsbarcodes_swift.

yeahdongcn avatar yeahdongcn commented on August 28, 2024

Have you tried to

import AVFoundation

These AVMetadataObjectType strings are declared in AVFoundation -> AVMetadataObject

from rsbarcodes_swift.

huntermonk avatar huntermonk commented on August 28, 2024

Ah that's embarrassing, I didn't know that. Thanks for the great fix.

I'm most likely going to submit a PR with some suggested changes to the README.md. Thanks for the wonderful library!

Sent from my iPad

On Nov 21, 2016, at 7:50 PM, R0CKSTAR [email protected] wrote:

Have you tried to

import AVFoundation
These AVMetadataObjectType strings are declared in AVFoundation -> AVMetadataObject


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

from rsbarcodes_swift.

yeahdongcn avatar yeahdongcn commented on August 28, 2024

That will be grateful, thank you in advance!

from rsbarcodes_swift.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.