Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Vitaa/IAPurchaseManager
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitaa committed Feb 18, 2017
2 parents 99ebc02 + cd8c6e7 commit 94b3bdf
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,6 @@ It's super cool because</br>
1) it's written in Swift 3</br>
2) it uses blocks!

<h2>Setup</h2>
Just drag <b>IAPManager.swift</b> to your project.

<b>or</b> using <a href="https://cocoapods.org">CocoaPods</a>
```
pod 'IAPurchaseManager'
```

If you are using Swift 2.x, then
```
pod 'IAPurchaseManager', '~> 0.0.2'
```

<h2>Making a purchase</h2>

If you want to make a purchase, all you need to do is to call a method:
Expand Down Expand Up @@ -59,6 +46,23 @@ All completed transactions are saved to a file:
data.write(to: purchasedItemsURL(), options: [.atomicWrite, .completeFileProtection])
```

<h2>Setup</h2>
Just drag <b>IAPManager.swift</b> to your project.

<b>or</b> using <a href="https://cocoapods.org">CocoaPods</a>
```
pod 'IAPurchaseManager'
```

If you are using Swift 2.x, then
```
pod 'IAPurchaseManager', '~> 0.0.2'
```
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
```
github "Vitaa/IAPurchaseManager"
```

</br>
</br>
If you want to add validation, keychain support or some other features, feel free to send me pull requests!

0 comments on commit 94b3bdf

Please sign in to comment.