Run our Sample Apps#

The best way to start working with the Scandit Data Capture SDK is to run one of our sample apps. In this guide we will go through the available apps and how to run them with Xcode.

Available Samples#

We have created both simple and advanced samples that show you how use various features of the Scandit Data Capture SDK. The simple samples allow you to get going quickly, while the advanced samples show you how to use additional settings and setup the scanner for the best user experience.

Here’s a list of our available samples on iOS:

Barcode Capture Samples#

Simple Sample

Views Sample

Settings Sample

../_images/sample-bc-simple-1.jpg
../_images/sample-bc-simple-2.jpg
../_images/sample-bc-view-1.jpg
../_images/sample-bc-view-2.jpg
../_images/sample-bc-settings-1.jpg
../_images/sample-bc-settings-2.jpg

Basic sample that uses the camera to read a single barcode.

Demonstrates the various ways to best integrate the scanner into the UI of your app.

Demonstrates how you can adapt the scanner settings best to your needs and experiment with all the options.

Reject Sample

../_images/sample-bc-reject-1.jpg
../_images/sample-bc-reject-2.jpg

Sample that uses the camera to read a single QR code that starts with “09:” but ignores/rejects all other codes.

Barcode Selection Samples#

Settings Sample

../_images/sample-bs-settings-1.jpg
../_images/sample-bs-settings-2.jpg

Demonstrates how you can adapt the barcode selection settings best to your needs and experiment with all the options.

MatrixScan Samples#

Simple Sample

Reject Sample

Bubbles Sample

../_images/sample-ms-simple-1.jpg
../_images/sample-ms-simple-2.jpg
../_images/sample-ms-reject-1.jpg
../_images/sample-ms-reject-2.jpg
../_images/sample-ms-bubble-1.jpg
../_images/sample-ms-bubble-2.jpg

Very simple sample which shows how you can highlight barcodes on screen with the Scandit Data Capture SDK.

Sample which shows how you can highlight selected (by a custom condition) barcodes on screen and scan them with the Scandit Data Capture SDK.

Demonstrates the use of more advanced augmented reality use cases with the Scandit Data Capture SDK.

Search And Find Sample

Inventory Audit Sample

../_images/sample-ms-saf-1.jpg
../_images/sample-ms-saf-2.jpg
../_images/sample-ms-inventory-1.png
../_images/sample-ms-inventory-2.png

Demonstrates a use case that requires a consecutive use of both Barcode Capture and MatrixScan in a single app.

ID & Text Capture Samples#

ID Capture Simple Sample

MRZ Scanner Sample

Text Recognition Sample

../_images/sample-id-simple-1.png
../_images/sample-id-simple-2.png
../_images/sample-tc-mrz-1.jpg
../_images/sample-tc-mrz-2.jpg
../_images/sample-tc-textrecognition-1.jpg
../_images/sample-tc-textrecognition-2.jpg
../_images/sample-tc-textrecognition-3.jpg

A basic ID Capture setup to scan front of ID Cards and barcodes from AAMVA documents.

An MRZ scanner implemented with ID Capture.

Uses Text Capture to recognize various kinds of texts in the specific locations in the frame.

Parser Samples#

GS1 Parser Sample

../_images/sample-p-gs1-1.png
../_images/sample-p-gs1-2.png

Combines Barcode Capture and Parser to capture and process GS1 codes.

All our samples can be found in the archive that can be downloaded from our dashboard. Check the following section for more details.

Run the Samples#

  1. Sign in to your Scandit account and download the newest iOS Framework at ssl.scandit.com/sdk. Unzip the archive and go to the samples folder.

  2. Open one of the project files in Xcode. Make sure you always have the most recent version of Xcode installed.

  3. Set the license key. To do this, sign in to your Scandit account and find your license key at ssl.scandit.com/licenses.

Once you have the license key, add it to the sample:

extension DataCaptureContext {
    private static let licenseKey = "-- ENTER YOUR SCANDIT LICENSE KEY HERE --"

    // Get a licensed DataCaptureContext
    static let licensed = DataCaptureContext(licenseKey: licenseKey)
}
  1. Run the sample in Xcode by clicking the Build & Run button. We recommend running our samples on a physical device as otherwise no camera is available.

Next steps#

You are now ready to tackle the following guide: