Is there a barcode recognition framework for Cocoa (OS X)?

Is there a framework or other sample code for doing barcode recognition (create and scan) on cocoa [OS X]?


You have to use a third-party framework for that.

For example, you can use:

  • ZXing. Note that the 1D code is not stabilized, so you probably will have to dig into the code.
  • ZBar. Seems to be a very capable library.

A simple Google search or StackOverflow search can help you too.

This here creates 2D barcodes for both mac and iphone: Cocoa Barcodes

Since macOS 10.10 you can use a CIFilter to read QRCodes without the need for any third-party framework:

Here's the link to the official docs, and to a blog post that shows how to use it.

You will get lots of answers here:

How can I scan barcodes on iOS?

Need Your Help

Application requires Microsoft.TeamFoundation. Controls Version be installed in the Global Assembly Cache

c# .net visual-studio-2012 clickonce

I've develop an application using Visual Studio 2012 and published it. When my client tries to install it, it says it cannot install as the application requires the assembly Microsoft.TeamFoundation.

Android: Facebook get "User Access Token", on successful login

android facebook-android-sdk android-facebook

I have been doing some login project via Facebook latest SDK i.e. 3.0. I'm getting a hard time in getting user access token. I have searched on the internet and all, maximum results were using the ...