Vigure 1.0.3

Vigure 1.0.3

TestsTested
LangLanguage Obj-CObjective C
License Commercial
ReleasedLast Release Mar 2015

Maintained by Luke Redpath, Josh Priollaud, Matt Krystof.



 
Depends on:
AFNetworking>= 0
AFNetworking/UIKit>= 0
SBJson>= 0
NYXImagesKit>= 0
 

Vigure 1.0.3

  • By
  • Vigure Inc.

Vigure iOS SDK

Install using CocoaPods

The easiest way to use this library is using CocoaPods. The accompanying sample app in this repository is configured to use CocoaPods if you want to see an example.

STEP 1: Create a new XCode Project

STEP 2: Create and configure a CocoaPods Podfile (if one exists)

Open Terminal, cd into the project directory, type the following commands:

#!shell

pod init
touch Podfile

Add the following to your Podfile:

#!shell

pod 'Vigure'

STEP 3: Install Vigure CocoaPod

Go to the terminal window, run the following:

#!shell

pod install

STEP 4: Configure the Xcode Workspace

Setup App Delegates and begin to code

Manual Installation

To add the Vigure SDK to your project, fist download this repo.

  1. Add the contents of the SDK directory to your project, except the libVigureSDK-Pods.a file as this is for users of CocoaPods only.
  2. Go to your project's Build Phases / Link Binary With Libraries
  3. Click the + button, and then the "Add Other..." button. Navigate to:
    • libVigureSDK.a
  4. Go to your project's Build Settings. Under "Other Linker Flags" addd
    • "-ObjC" without quotes
  5. Make sure that VigureBundle.bundle is in your Copy Bundle Resources phase
  6. You will also need to link the following frameworks: 'Accelerate', 'AssetsLibrary', 'CoreGraphics', 'CoreImage', 'ImageIO', 'MobileCoreServices', 'QuartzCore', 'Security', 'SystemConfiguration'

Configuring the Vigure SDK by adding the following to your app delegate (viewcontroller.m) file.

  1. #import "VigureSDK.h"
  2. [VigureSDK setAppId:your-app-id];
  3. Initiate capture from a view controller

    [VigureSDK startCaptureFromViewController:self productId:@"my-product-id" promptText:@"Footer tutorial text of your choosing" completionBlock:^(VigureCaptureResult captureResult) { NSLog(@"Capture Result: %d", captureResult); }];