I have some information like Name,company Name,Company Url,etc using this information i want to generate QR code for that so is there any free api is available for that or is there any way to generate QR code for this purpose?
There are several ways to do that. I have placed one of the example in this answer.
For This answer we are using QR code of 200 x 200 size. for more details see here.
QR code Google API below
http://chart.apis.google.com/chart?cht=qr&chs=200x200&chl=MECARD:
Example:
URL encoded:
http://chart.apis.google.com/chart?cht=qr&chs=200x200&chl=MECARD:ORG%3AArchitect+Of+The+Capitol%2CN%3ABarack+Obama%2CTEL%3A%28202%29+224-3121%2CADR%3A1331+F+St+NW+%23+SB15+Washington%2C+DC+20004-1107%2CEMAIL%3Awww.firstgov.gov
Normal URL:
http://chart.apis.google.com/chart?cht=qr&chs=200x200&chl=MECARD:ORG:Walmart Stores Inc,N:Mike Duke,TEL:(479) 273-4000,ADR:702 SW 8TH ST BENTONVILLE, AR 72712-6209,EMAIL:www.walmartstores.com
Refer to this project wraping c code for iPhone:
https://github.com/kuapay/iOS-QR-Code-Generator
Just couple of steps & you are done :
1) Attach the libz.dylib library to your target in Xcode.
2) Drag the QRDraw and libpng folder files into your project.
3) Update the Header Search path under build settings menu.
Hope this is enough for integration within your app.
Related
Scenario: a rudimentary iOS/MacOS application generated by Xcode 'document' template with the ability to read/write .swift file.
Purpose: to have a Swift-Language source-code viewer for both Mac & iOS for purview only.
I merely would like to have a simple iOS Application that I can use to store Swift code snippets for study on-the-go (mobile).
I'm able to view .swift files but I lost the font/colors used to display within Xcode.
Question: how do I view the original font/color text? ...or
Must I have to convert the entire source-code into an AttributedText?
Example: I want to preserve the code as is shown below:
I am trying to use stripes UI example in my person swift project. I have tried to drag and drop the desired files inside of my project and update my headers and compile sources but I am still getting hit with errors I will leave screenshots below,
and most importantly, I am getting
I was wondering if someone has previously used Stripes BECS example UI in their own personal project and had any idea on why these issues would be popping up.
You need to install Stripe per the documentation, you can't just drag and drop files in to your project: https://stripe.com/docs/mobile/ios/basic#client-side
I'd recommend you try doing a basic example integration in a new project to figure out how the bits work, and then make use of those learnings to integrate it into your application.
I am using epos sdks for printing in my app. I don't have printer to check the exact output of the printed bill. So is there any way to simulate the output without printer by using epos iOS SDK?
Please download the sdks from the following location https://download.epson-biz.com/modules/pos/index.php?page=single_soft&cid=4768&scat=50&pcat=7
1. Unzip the downloaded file(if it not done automatically) and go to the javascript folder.
2. Unzip "ePOS-Print_Sample_SDK_V5.0.1E" and check for the folder "editor".
3. Open the folder and right click on the 'index.html' file and open it using any browser.
4. Use the edit to enter the input and check the output in preview tab.
You can use EPSON's ePOS XML Editor. I've published the source code for it in a public repo and added a Github Page so it's easier to find and use.
You can find it here: https://franciscohanna.me/epson-epos-xml-editor/.
In the editor, you can drag and drop elements and use the Preview tab to have an approximate preview of the print.
Is anyone able to tell me where i might be able to find an example of the barcode scanner 'zxing'?. Also i have found the following link : http://zxing.googlecode.com/svn/trunk/iphone/ but i'm not sure on how to download the whole iphone directory
Download the whole archive.
Open the folder and find the example project in iPhone\ScanTest folder
I am thinking of making an application that requires extracting TEXT from an image. I haven't done any thing similar and I don't want to implement the whole stuff on my own. Is there any known library or open source code (supported for ios, objective-C) which can help me in extracting the text from the image. A basic source code will also do (I will try to modify it as per my need).
Kindly let me know if some one has any idea on this.
Thanks,
Vikram
One of the main open source libraries used to do OCR on iOS is a google-sponsored open source project called tesseract.
Here is some info on compiling tesseract for use in iOS apps:
tesseract
The same guy has a nice sample project on github demonstrating how a simple client might use the compiled library:
Pocket-OCR