Skip to content

Commit

Permalink
Add instructions for installing library using CocoaPods
Browse files Browse the repository at this point in the history
  • Loading branch information
Saikat Chakrabarti committed Nov 16, 2012
1 parent ba985c3 commit cdd23e0
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 9 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ The Stripe iOS bindings can be used to generate [tokens](https://stripe.com/docs

## Installation

You can install the Stripe iOS bindings in two ways.

### Install with CocoaPods

[CocoaPods](http://cocoapods.org/) is a library dependency management tool for Objective-C. To use the Stripe iOS bindings with CocoaPods, simply add the following to your `Podfile` and run `pod install`:

pod `Stripe`, :git => 'https://github.com/stripe/stripe-ios.git'

### Install by adding files to project

1. Clone this repository
1. In the menubar, click on 'File' then 'Add files to "Project"...'
1. Select all the files in the 'src' directory of your cloned stripe-ios repository
Expand Down
18 changes: 9 additions & 9 deletions Stripe.podspec
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Pod::Spec.new do |s|
s.name = "Stripe"
s.version = "1.0.0"
s.summary = "Stripe is a RESTful API for accepting payments online."
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.homepage = "https://stripe.com"
s.author = { "Saikat Chakrabarti" => "[email protected]" }
s.source = { :git => "https://github.com/stripe/stripe-ios.git", :commit => "master"}
s.source_files = 'src/*.{h,m}'
s.name = "Stripe"
s.version = "1.0.0"
s.summary = "Stripe is a web-based API for accepting payments online."
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.homepage = "https://stripe.com"
s.author = { "Saikat Chakrabarti" => "[email protected]" }
s.source = { :git => "https://github.com/stripe/stripe-ios.git", :commit => "master"}
s.source_files = 'src/*.{h,m}'
s.public_header_files = 'src/*.h'
s.framework = 'Foundation'
s.framework = 'Foundation'
end

0 comments on commit cdd23e0

Please sign in to comment.