Skip to content
This repository has been archived by the owner on Mar 6, 2018. It is now read-only.

Commit

Permalink
[README] Update installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
sunshinejr committed Sep 28, 2016
1 parent b13101e commit 1913bc6
Showing 1 changed file with 21 additions and 4 deletions.
25 changes: 21 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,36 @@
# RxPermission

[![CocoaPods](https://img.shields.io/cocoapods/v/RxPermission.svg)](https://github.com/sunshinejr/RxPermission)
[![Version](https://img.shields.io/cocoapods/v/RxPermission.svg?style=flat)](http://cocoapods.org/pods/RxPermission)
![Swift 3.0.x](https://img.shields.io/badge/Swift-3.0.x-orange.svg)
[![License](https://img.shields.io/cocoapods/l/RxPermission.svg?style=flat)](http://cocoapods.org/pods/RxPermission)
[![Platform](https://img.shields.io/cocoapods/p/RxPermission.svg?style=flat)](http://cocoapods.org/pods/RxPermission)

[RxSwift](https://github.com/ReactiveX/RxSwift) bindings for [Permission](https://github.com/delba/Permission) API that helps you with Permissions in iOS.

## Installation

RxPermission is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:
RxPermission is available through [CocoaPods](http://cocoapods.org). I can't guarantee it is working correctly
on Carthage, so if you want to help I'm happy to introduce it with your PR.

RxPermission should work with every Swift release >= 2.2, for detailed instructions check
info below.

## Swift 3.0
If you want to use RxPermission with Swift 3.0, as of now you have to use these lines below
in your Podfile to have it working (while waiting for the official release of Permission and RxSwift):

```ruby
pod 'RxPermission', '1.0.0-beta.1'
pod 'Permission', :git => 'https://github.com/delba/Permission', :branch => 'swift-3.0'
pod 'RxSwift', :git => 'https://github.com/ReactiveX/RxSwift'
```

## Below Swift 3.0

To install it, simply add the following line to your Podfile:

```ruby
pod "RxPermission"
pod "RxPermission", "~> 0.2"
```

## Usage
Expand Down

0 comments on commit 1913bc6

Please sign in to comment.