There seems to be plenty of QR Code SDKs for iPhone, but the ones I've found reference frameworks that are unavailable on Mac, such as UIKit. I would like to be able to scan QR codes using the webcam on a Mac from a Mac App. Any suggestions?
It's not a complete implementation, but there's cocoa support in the zxing library. It should get you started at least.
zxing has this. See the objc directory. Not much in the way of docs, but it has examples. Feel free to post to the zxing google group if you have trouble.
[full disclosure: I'm the author/maintainer of the objc interface classes.]
Related
I am really struggling to find any references on developing WearOS apps using an iPhone. I see references in the android documentation, but have not been able to find any examples or code online. I now companies like Cardieo have mentioned they developed on Wear OS and have an iOS app. Does anybody have any good sample code to use as an example?
Hyperloop looks like an exciting way forward for Appcelerator. I've read the very basic Hyperloop docs and watched the intro video. In the intro video I can see that simple Swift or Objective-C files can be used,
I'm interested to find out how much of an exisiting Swift/Objective-C codebase could be dropped into a Hyperloop project?
Could we for example, take an entire project written in Swift/Objective-C and work on it using Hyperloop?
Does anyone have any hands on experience?
Cheers!
You can potentially use a lot of the code but you can't (today) easily drop in a full xcodeproject without a bit of work.
If you look at the example iOS project that comes alongside Hyperloop (http://labs.appcelerator.com/project/55f74a9f421c44837717716b/Hyperloop-Module) you can see some drop in examples of both swift and objective-c code.
I recommend looking at the examples at Loop Modules since they provide a lot of how-to for using Swift-Objective C in Hyperloop. From my own experience, you can't drop and drag a current X-Code project, every piece that is integrated into Hyperloop works as a module (they call it framework, but for me it is a module) which needs to be adapted to be used inside Titanium.
My personal experience, with enough tinkering (or knowledge) you can integrate any native Swift-Objective C component you want. I even went as far as compiling source C and integrating that in Hyperloop and calling the functions in that with C as well.
Currently I'm using Javascript, Swift, Objective-C and C in the same project and it works great so far :)
Also the latest documentation from Appcelerator is here
Another good news is Hyperloop is now available to the free Indie program at Appcelerator.
I'm primarily a windows developer but I need to port an app to the mac platform.
The app needs access to any scanners plugged into the computer. On windows, I've made use of the WIA library. I was wondering if the mac platform has an equivalent and also if it has bindings for the new Swift language?
Any help would be appreciated. Thanks.
You can access scanners and other devices using ImageKit + ImageCaptureCore. Some of Apple's documentation is very sparse, so you shouldn't be afraid to learn things from the header files (e.g. ICScannerDevice.h). It might help to look at some of the code I wrote for this application, particularly this file.
There is no such thing as "bindings" for Swift, since Swift currently uses the Objective-C runtime and interacts directly with Objective-C. This guide will help.
Im using the ZBarSDK barcode reader in my app, but it is not compiled to run on arm7s.
Im wondering if I should rather use a different library for my barcode scanning.
Im experiencing some problems with ZBarSDK, like problems with reading barcodes on some devices.
I ended up paying for the SD toolkit barcode scanner, since I did not like the ZBar license agreement.
Just remove the "armv7s" on ZBarSDK, this will work :)
You can use the beta version (1.3.1), which is working fine with optimized arm7 arch.
I want to scan products barcode using zxing libray in my Windows phone application .
I'm worndering how to integrate it into the project and how to use it .
thank's in advance .
There is a silverlight port of zxing here that works on WP7: zxing
Just a little addition for everybody that also searches about this topic: Stéphanie Hertrich built a small sample application that uses the zxing library together with the new Mango Camera API. This way you can search the live camera stream for barcodes and stop immediatelly if something was found. This is much more convenient for the user (just tried it for myself).
Her code is not fully tested, but it works well for a demo and finds those barcodes unbelievably fast (its really impressive, it mostly found it just after the autofocus finished).