CocoaPods trunk is moving to be read-only. Read more on the blog, there are 17 months to go.

PassSlot 0.7

PassSlot 0.7

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by PassSlot.



  • By
  • PassSlot

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.

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