Skip to content

Latest commit

 

History

History
84 lines (58 loc) · 2.78 KB

README.md

File metadata and controls

84 lines (58 loc) · 2.78 KB

Catch iOS SDK

Catch

Language SwiftPM compatible Cocoapods compatible Carthage compatible License Platform

The Catch iOS SDK allows you to integrate Catch as a payment option in your native iOS apps.

Table of contents

Documentation

Read the full developer documentation here to get started with Catch.

Requirements

  • Deployment target of iOS 12.0 or higher
  • Swift 5.0.23 or higher

Installation

Swift Package Manager

In Xcode, navigate to FileAdd Packages.

In the Search or Enter Package URL dialog, enter the repository URL:

https://github.com/getcatch/catch-ios-sdk

In Dependency Rule, select Up to Next Major Version and leave the default version options. Then choose Catch in the Package Product column.

CocoaPods

Add the following to your Podfile.

pod 'Catch'

Followed by installing the SDK:

pod install

If you have not previously set up Cocoapods, follow their instructions here.

Carthage

Add the following to your Cartfile:

github "getcatch/catch-ios-sdk"

Then follow the full Carthage installation instructions here.

Manual

Alternatively, if you do not want to use the above installation methods, you may clone our GitHub repository and drag the Catch folder into your XCode project.

Example

A demo app is included in the project. To run it you will need to do the following:

  • Clone our GitHub repository
  • Navigate to the Example directory
  • Run pod install
  • Open Example.xcworkspace in Xcode.

Xcode 13+ is required to run the demo app.

Licenses