Skip to content
Permalink
main
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time

FastCheckout

Welcome to the FastCheckout SDK which lets you offer your users a one-click checkout experience with Fast.

Table of Contents

Requirements

  • Xcode 12.x
  • Swift 5.x

Installation

FastCheckout doesn't contain any external dependencies.

These are currently the supported installation options:

XCFrameworks

Each release of FastCheckout includes *.xcframework framework binaries.

Simply drag the needed framework binaries to your Frameworks, Libraries, and Embedded Content section under your target's General tab.

CocoaPods

# Podfile
use_frameworks!

target 'YOUR_TARGET_NAME' do
    pod 'FastCheckout'
end

Replace YOUR_TARGET_NAME and then, in the Podfile directory, type:

$ pod install

Carthage

Add this to Cartfile

binary "https://raw.githubusercontent.com/fast-af/fast-ios-sdk/0.1.0/FastCheckout.json"
$ carthage update

Swift Package Manager

Create a Package.swift file.

// swift-tools-version:5.0

import PackageDescription

let package = Package(
  name: "YourProjectName",
  dependencies: [
    .package(url: "https://github.com/fast-af/fast-ios-sdk.git", .exact("0.1.0"))
  ],
  targets: [
    .target(name: "YourProjectName", dependencies: ["FastCheckout"])
  ]
)
$ swift build