# Button Merchant Library

## Documentation

Documentation for the Merchant Library can be found on the [Button Developer site](https://developer.usebutton.com/docs/ios-add-merchant-library).

[Reference docs](http://building.usebutton.com/button-merchant-ios/latest/) are also available.

## Example

To run the example project, clone the repo, run `pod install`, and run the Example scheme.

## Installation

ButtonMerchant is available through [CocoaPods](http://cocoapods.org/) and [Carthage](https://github.com/Carthage/Carthage).

### Swift Package Manager

In Xcode, navigate to **File → Swift Packages → Add Package Dependency**

Enter the package repository URL:

`https://github.com/button/button-merchant-ios`

_Note: Ensure to select ‘Up to Next Major’ version when prompted._

### CocoaPods

Add this line to your Podfile:

```
pod 'ButtonMerchant'
```

### Carthage

Or, add this to your Cartfile:

```
github "button/button-merchant-ios" ~> 1.0
```

## Author

Button, Inc.

## License

ButtonMerchant is available under the MIT license. See the LICENSE file for more info.
