Skip to content

Commit 4904270

Browse files
author
Steven Roebert
committed
Updated readme for installation
1 parent 5dedcbc commit 4904270

File tree

1 file changed

+23
-4
lines changed

1 file changed

+23
-4
lines changed

README.md

+23-4
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,36 @@ promise.then { (string) -> AnyObject in
3737

3838
## Installation
3939

40-
*SwiftyPromise* is available through [CocoaPods](http://cocoapods.org). To install
41-
it, simply add the following line to your Podfile:
40+
Using [CocoaPods](https://cocoapods.org/):
4241

4342
```ruby
44-
pod "SwiftyPromise"
43+
use_frameworks!
44+
pod 'SwiftyPromise'
4545
```
4646

47+
Using [Carthage](https://github.com/Carthage/Carthage):
48+
49+
```
50+
github "sroebert/SwiftyPromise"
51+
```
52+
53+
Manually:
54+
55+
1. Drag `SwiftyPromise.xcodeproj` to your project in the _Project Navigator_.
56+
2. Select your project and then your app target. Open the _Build Phases_ panel.
57+
3. Expand the _Target Dependencies_ group, and add `SwiftyPromise.framework`.
58+
4. Click on the `+` button at the top left of the panel and select _New Copy Files Phase_. Set _Destination_ to _Frameworks_, and add `SwiftyPromise.framework`.
59+
5. `import SwiftyPromise` whenever you want to use SwiftyPromise.
60+
61+
## Requirements
62+
63+
- iOS 8.0+, Mac OS X 10.9+, tvOS 9.0+ or watchOS 2.0+
64+
- Swift 2.0
65+
4766
## Author
4867

4968
Steven Roebert ([@sroebert](https://github.com/sroebert))
5069

5170
## License
5271

53-
*SwiftyPromise* is available under the MIT license.
72+
SwiftyPromise is available under the MIT license.

0 commit comments

Comments
 (0)