The Catch iOS SDK allows you to integrate Catch as a payment option in your native iOS apps.
Read the full developer documentation here to get started with Catch.
- Deployment target of iOS 12.0 or higher
- Swift 5.0.23 or higher
In Xcode, navigate to File → Add 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.
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.
Add the following to your Cartfile:
github "getcatch/catch-ios-sdk"
Then follow the full Carthage installation instructions here.
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.
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.