Objective-C Framework (SDK) for easy Passbook integration
Objective-C CSS Ruby TeX
Latest commit 009a3aa Mar 30, 2014 @passslot framework v0.7 release
Failed to load latest commit information.
docs/gfx add readme Jul 21, 2012
samples framework v0.7 release Mar 30, 2014
sdk
.gitignore ignore some files Jul 21, 2012
CHANGELOG.mdown framework v0.7 release Mar 30, 2014
LICENSE framework v0.4 release Dec 3, 2012
PassSlot.podspec
README.mdown framework v0.4 release Dec 3, 2012

README.mdown

Samples

The PassSlot SDK now contains a demo application which can generate passes. You can find the sample in the samples/PassSlot Demo directory.

Cloud Service

The PassSlot SDK requires the PassSlot cloud service for signing passes. You can sign up for a free developer account at PassSlot.com.

Installation

You can install the PassSlot SDK either by using CocoaPods or add it yourself.

CocoaPods

Add a file Podfile to your project:

platform :ios, '6.0'

pod 'PassSlot'

For more information see CocoaPods

Manual

Step 1: Add the PassSlot.framework to your Project

Drag the PassSlot.framework folder into your project and add it to your target

Step 2: Add other Libraries

Link your binary with the following libraries:

  • PassKit
  • CFNetwork
  • Security
  • SystemConfiguration

Step 3: Add Linker Flags

Add -ObjC to your Other Linker Flags

Step 4: Import the PassSlot SDK Headers

Import the PassSlot headers where you need it.

#import <PassSlot/PassSlot.h>

NOTE: If you do not want to import PassSlot.h in every file you may add it into you pre-compiled header (<projectname>_Prefix.pch) file inside of the #ifdef __OBJC__ section

Step 5: Start PassSlot with your App Key

-(BOOL)application:(UIApplication *)application 
    didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {

    // ...
    [PassSlot start:@"<your app key>"];
    // ...
}

Attribution

This SDK is uses MKNetworkKit