Code Monkey home page Code Monkey logo

zbarsdkarmv7s's Introduction

ZBarSDKarmv7s

Just a copy of the ZBarSDK that has been recompiled for the armv7s because I'm lazy.

Note: I've gone ahead and built a simple library that incorporates the ZBarSDK with iOS 7 barcode scanning as well, feel free to use and contribute to the repo: SimpleBarCodeScanner.

Integration (taken from the ZBarSDK website)

The recommended installation method is to simply copy the SDK into your Xcode project:

  1. Open ZBarSDK-1.2.dmg in the Finder.

  2. Drag the ZBarSDK folder into your Xcode project. In the dialog that appears, you should choose to copy the SDK into your project by checking the box. The target that you want to link with the library should also be selected in the target list.

  3. Link the following additional frameworks to any targets that link with the ZBarSDK. You should set the first three to use weak references and configure an appropriate deployment target if you still need to support iOS 3:

    • AVFoundation.framework (weak)
    • CoreMedia.framework (weak)
    • CoreVideo.framework (weak)
    • QuartzCore.framework
    • libiconv.dylib

If you check “Link Binary With Libraries” for the target(s), you should see all of these frameworks followed by libzbar.a.

Note Link order may be important for some versions of Xcode; the referenced libraries should be listed before libzbar.a in the link order.

  1. Import the SDK header from your prefix header to make the barcode reader APIs available:

    #import "ZBarSDK.h"
    

Note

With the advent of iOS 7, you can use native libraries for barcode scanning now: http://www.infragistics.com/community/blogs/torrey-betts/archive/2013/10/10/scanning-barcodes-with-ios-7-objective-c.aspx

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.