From eea2fdf24957613eb07bba4bd976c6c44b0286c1 Mon Sep 17 00:00:00 2001 From: AndreaPerizzato Date: Tue, 10 Apr 2018 10:58:16 +0100 Subject: [PATCH 1/2] Spreedly scheme is now shared --- .../xcshareddata/xcschemes/Spreedly.xcscheme | 99 +++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 Spreedly.xcodeproj/xcshareddata/xcschemes/Spreedly.xcscheme diff --git a/Spreedly.xcodeproj/xcshareddata/xcschemes/Spreedly.xcscheme b/Spreedly.xcodeproj/xcshareddata/xcschemes/Spreedly.xcscheme new file mode 100644 index 0000000..653e493 --- /dev/null +++ b/Spreedly.xcodeproj/xcshareddata/xcschemes/Spreedly.xcscheme @@ -0,0 +1,99 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 6f09cc4686c97147cdd71a0a15c05aba3d6681b2 Mon Sep 17 00:00:00 2001 From: AndreaPerizzato Date: Tue, 10 Apr 2018 11:58:03 +0100 Subject: [PATCH 2/2] Updated README to include carthage support and badge --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 9d3b765..1705f72 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ [![Version](https://img.shields.io/cocoapods/v/Spreedly.svg?style=flat)](http://cocoapods.org/pods/Spreedly) [![License](https://img.shields.io/cocoapods/l/Spreedly.svg?style=flat)](http://cocoapods.org/pods/Spreedly) [![Platform](https://img.shields.io/cocoapods/p/Spreedly.svg?style=flat)](http://cocoapods.org/pods/Spreedly) +[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) + If you’re building an iOS app and want to accept payments, the Spreedly iOS library can make it easier. It removes the burden of PCI compliance by making sure sensitive credit card information never touches your servers. Just a token associated with that payment method. Our library also supports Apple Pay so you can enable users to make payments without entering their credit card information. @@ -21,6 +23,8 @@ More documentation and a guide to using the library can be found on the [Spreedl ## Installation +### CocoaPods + Spreedly is available through [CocoaPods](http://cocoapods.org). To install it, simply add `Spreedly` to your Podfile: @@ -35,6 +39,16 @@ end ``` +### Carthage + +To integrate Spreedly into your Xcode project using Carthage, specify it in your Cartfile: + +``` +github "spreedly/spreedly-ios" +``` + +Run carthage update to build the framework and drag the built Spreedly.framework into your Xcode project. + If you're integrating into an existing Objective-C app, be sure to add the header file in the appropriate view controller. ```objective-c