Skip to content

Commit 5ade422

Browse files
committed
Merge pull request #742 from ParsePlatform/nlutsenko.readme.carthage
Add Carthage instructions and badge to README.
2 parents 5a33bb6 + e4e24a2 commit 5ade422

File tree

1 file changed

+29
-14
lines changed

1 file changed

+29
-14
lines changed

README.md

Lines changed: 29 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
# Parse SDK for iOS/OS X/watchOS/tvOS
22

3-
[![Build Status][build-status-svg]][build-status-link]
4-
[![Coverage Status][coverage-status-svg]][coverage-status-link]
5-
[![Podspec][podspec-svg]][podspec-link]
6-
[![License][license-svg]][license-link]
73
![Platforms][platforms-svg]
4+
[![License][license-svg]][license-link]
5+
6+
[![Podspec][podspec-svg]][podspec-link]
7+
[![Carthage compatible][carthage-svg]](carthage-link)
88
[![Dependencies][dependencies-svg]][dependencies-link]
99
[![References][references-svg]][references-link]
1010

11+
[![Build Status][build-status-svg]][build-status-link]
12+
[![Coverage Status][coverage-status-svg]][coverage-status-link]
13+
1114
[![Join Chat][gitter-svg]][gitter-link]
1215

1316
A library that gives you access to the powerful Parse cloud platform from your iOS or OS X app.
@@ -20,15 +23,24 @@ And you're off! Take a look at the public [documentation][docs] and start buildi
2023

2124
**Other Installation Options**
2225

23-
1. **CocoaPods**
24-
25-
Add the following line to your podfile:
26-
27-
pod 'Parse'
28-
29-
Run pod install, and you should now have the latest parse release.
30-
31-
2. **Compiling for yourself**
26+
- **[CocoaPods](https://cocoapods.org)**
27+
28+
Add the following line to your Podfile:
29+
```ruby
30+
pod 'Parse'
31+
```
32+
Run `pod install`, and you should now have the latest parse release.
33+
34+
35+
- **[Carthage](https://github.com/carthage/carthage)**
36+
37+
Add the following line to your Cartfile:
38+
```
39+
github "ParsePlatform/Parse-SDK-iOS-OSX"
40+
```
41+
Run `carthage update`, and you should now have the latest version of Parse SDK in your Carthage folder.
42+
43+
- **Compiling for yourself**
3244

3345
If you want to manually compile the SDK, clone it locally, and run the following commands in the root directory of the repository:
3446

@@ -43,7 +55,7 @@ And you're off! Take a look at the public [documentation][docs] and start buildi
4355

4456
Compiled frameworks will be in 2 archives: `Parse-iOS.zip` and `Parse-OSX.zip` inside the `build/release` folder, and you can link them as you'd please.
4557

46-
3. **Using Parse as a sub-project**
58+
- **Using Parse as a sub-project**
4759

4860
You can also include parse as a subproject inside of your application if you'd prefer, although we do not recommend this, as it will increase your indexing time significantly. To do so, just drag and drop the Parse.xcodeproj file into your workspace. Note that unit tests will be unavailable if you use Parse like this, as OCMock will be unable to be found.
4961

@@ -100,6 +112,9 @@ of patent rights can be found in the PATENTS file in the same directory.
100112

101113
[podspec-svg]: https://img.shields.io/cocoapods/v/Parse.svg
102114
[podspec-link]: https://cocoapods.org/pods/Parse
115+
116+
[carthage-svg]: https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat
117+
[carthage-link]: https://github.com/carthage/carthage
103118

104119
[platforms-svg]: http://img.shields.io/cocoapods/p/Parse.svg?style=flat
105120

0 commit comments

Comments
 (0)