With Zxing retiring for iOS, which barcode-scanner to switch to? - ios

I have implemented ZXing to my iOS-app, however I am questioning it's maintainability as not long ago it was announced that ZXing to iOS is retiring:
Retiring C++, Objective C code
I've also read that there might be compatibility issues with the newer phones iPhone 5S..
Also running Xcode's static code analysis on the Zxing-library reveals memory errors, I'm not sure if these errors are false positive or not, but they make me doubt Zxing even more. Further, the performance of Zxing compared to other barcode scanners feels subpar.
So my question is, what is the best alternative? I hear a lot of good stuff about Zbar, however I'm not sure how updated it is either.

iOS 7 SDK now includes a QR code reader, AVCaptureMetaDataOutput. You can read about it at
i​OS 7 NSHipster.

The latest and updated zXing for iOS 6 and later is available here... https://github.com/TheLevelUp/ZXingObjC
It's not going to retire... :)

try zbar sdk, it's compatible with ios 7 sdk
http://zbar.sourceforge.net/iphone/sdkdoc/index.html
or
http://www.scandit.com/barcode-scanner-sdk/features/platforms/

You can try PDF417.mobi. It is commercial but can be used for free for educational and non-commercial purposes.
PS. I'm working for the team that developed PDF417.mobi SDK.

Related

How does iOS7 understands Swift Code? Is there any Swift support by OS?

Here is my short assumption on that currently looking more on it.
Application with Swift code bundles Swift specific standard libs with Swift, Apple has changed how standard libraries are shipped. With Objective-C, all of the standard libraries, system frameworks, and the runtime itself, were shipped with the OS. But With Swift, Apple trying to ship a specific version of the standard library with your app.
Please share your thought on that.
Found Interesting - Compatibility Blog
According to that - In fact, you can target back to OS X Mavericks or iOS 7 with that same app. This is possible because Xcode embeds a small Swift runtime library within your app’s bundle. Because the library is embedded, your app uses a consistent version of Swift that runs on past, present, and future OS releases.
Any other discussion warm welcome!

Boost Graph Library, stable on iOS?

The Boost Graph Library is a header-only library and does not need to be built to be used.
it contains some pre-made functions that I want for my iOS application:
dijkstra_shortest_paths
astar_search
However, Boost is not officially supported on iOS (or Android) due to lack of regression testing, and I'm not experienced enough with either Boost or iOS to be comfortable testing it.
Is anyone using Boost.Graph on iOS, and if so is it stable?
Yes, most definitely it's stable.
Apple's LLVM compiler (which is what you should be using for iOS apps) is one of the most C++11 compliant compilers available today, and as such can compile and run boost with absolutely no issues.
Not to mention the fact that iOS is also fully POSIX compliant, which makes most frameworks out there viable for use on iOS. When in doubt, try it and then if it doesn't work, come back and ask a question.
Leverage what is already there, and use it well!
As such boost libraries are stable, but Boost Graph libraries are failing on all darwin flavours (darwin- 4.4_0x intel- darwin- 12.0 intel- darwin- 11.1 darwin- 4.4)
http://www.boost.org/development/tests/release/developer/summary.html
May be you can try other alternatives, like LEDA (http://www.algorithmic-solutions.com/news/archive.htm)
Thanks.

iOS 1D/2D barcode scanner library

I'm trying to fint the answer to a question that has been asked before,but i still couldn't find the proper answer.
I'm looking for a lightweight free 1D/2D barcode scanner library/api/sdk. I've tried
zxing
, but its way too enormous,
scandit
is not free, i couldn't compile
BXMobile
, etc.
Someone who has experience with barcode scanners could propose me a good suggestion for what i should use?
Thanks in advance!
Zoli
The best free one I found was ZBarSDK
http://zbar.sourceforge.net/iphone/sdkdoc/
I've used ZXing before. If you had trouble with it then use the CocoaPods version...
http://cocoapods.org/?q=zxing
It deals with all the includes and everything. CocoaPods really is the way forward.
https://codeload.github.com/cgreening/BarCodeExample/zip/master
iOS7 has built in functionality scanning BarCodes not sepearate sdk is required; if your deployment target is iOS7
I've had good results with ZXingObjC, which as the name suggests is an ObjC port of ZXing, and which is also on CocoaPods.

using panoramaGL library in ios5 and running HelloPanorama

I've been search around how to setup panoramaGL for a whole day and none of these answers my questions. emm, maybe that's because I am new to ios developing and I start with ios5 with all ARC cool features. I did find a pretty comprehensive guide at http://www.codeproject.com/Articles/60635/Panorama-360-iPod-Touch-iPhone but it's a little bit out of date to me. I cannot follow this guide in xcode 4.3 with ios 5.0 sdk.
Emm, so here is the question, assuming panoramaGL and helloPanorama works perfectly fine in whatever xcode version and sdk version it is created in. Is there a way , without any code modification, I can import the library and using the api along with my app developed in ios5? Of course I don't mind some minor modification and I did dive into those code and comment all the retain or release stuff. but wired errors keep popping up. I really need help here.
If it finally turns out to be impossible to reuse it in ios5.0, I will probably need to write the whole thing line by line with my understand of the complicated panorama algorithm...
Thanks so much for the help!
It seems someone is working on another library based on panoramaGL. Works on IOS 5.
See http://code.google.com/p/tk-panorama/
The new version of PanoramaGL 0.1 r2 was released, please check http://code.google.com/p/panoramagl/. This version runs on iOS >= 4.x and supports Hotspots.
Please check HelloPanoramaGL example

Is it possible to develop an application for the iMac that is portable to the iPad?

Are the development environments the same? Does iPad support Java development?
For developing for iMac and iPad you can use Xcode for both. The project types will differ though.
I wouldn't worry about Java if you are working on the Apple platforms. Use Objective-C instead.
For Mac desktop you'll typically use the NSFoundation and the Cocoa frameworks. For the mobile devices you'll use the NSFoundation and UIKit frameworks. Notice that basic data types reuse the same framework (NSFoundation) but the frameworks for the GUIs are different. What this means is that you can create common code if you are only using NSFoundation. But you won't be able to use the same code for working with GUIs. This makes sense as the way GUIs work for desktop and mobile are very different.
The iPad only supports C++, Objective-C, and JavaScript. It's in the developer agreement. Also, on the iPad you will probably be using the cocoa touch framework which is different from the cocoa interface on Macs.
You can use Apple's XCode IDE to develop applications for both Mac OS X and the iOS platforms. I do not have a Mac, so I cannot give you much more insight as to if there are any differences when coding for one device or another, though I would imagine an app could be made fairly portable.
Unfortunately, Java is not supported on the iPad, and probably never will. The reasoning is the same as the reasoning Apple decided not to include Flash.
I hope this helps.
You can use XCode/Objective-C for both, but at least the user interface code would be completely different. You may be able to share some backend code and libraries.
Java is not supported on the iPad. You are down to C/C++/Objective-C and JavaScript.

Resources