Skip to content

Commit

Permalink
Update Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasGessner committed Oct 11, 2019
1 parent a66bb78 commit 4bf2b29
Showing 1 changed file with 20 additions and 6 deletions.
26 changes: 20 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ Download the source code and open the <a href="Examples">Examples</a> project to
[![GitHub license](https://img.shields.io/github/license/JonasGessner/JGProgressHUD.svg)](https://github.com/JonasGessner/JGProgressHUD/blob/master/LICENSE.txt)
[![CocoaPods](https://img.shields.io/cocoapods/v/JGProgressHUD.svg)](https://cocoapods.org/pods/JGProgressHUD)
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
[![Carthage compatible](https://img.shields.io/badge/SwiftPM-Compatible-brightgreen)](https://swift.org/package-manager)



Examples
--------------
Expand Down Expand Up @@ -118,26 +121,37 @@ To dim the content behind the HUD set your dim color as `backgroundColor` of you

Installation
--------------
### CocoaPods:
In your `Podfile` add:

```
pod 'JGProgressHUD'
### Swift Package Manager:

Add `JGProgressHUD` as a dependency in your `Package.swift` file:

```swift
.package(url: "https://github.com/JonasGessner/JGProgressHUD", .upToNextMajor(from: "2.0.0"))
```


### Carthage:
In your `Cartfile` add:

```
github "JonasGessner/JGProgressHUD"
```

### Manual Installation (Framework):
### CocoaPods:
In your `Podfile` add:

```
pod 'JGProgressHUD'
```

### Manual Installation:

1. Drag the `JGProgressHUD.xcodeproj` file into your Xcode project.
2. Add `JGProgressHUD.framework` to "Embedded Binaries" in the "General" tab of your target.

Then import the module where you want to use it:
-------
After installing import the module where you want to use it:

```objc
@import JGProgressHUD;
Expand Down

0 comments on commit 4bf2b29

Please sign in to comment.