Skip to content

Commit

Permalink
[README] Add 'Accio supported' badge (HeroTransitions#595)
Browse files Browse the repository at this point in the history
* [README] Add 'Accio supported' badge

* [README] Document installation via Accio

Co-authored-by: Joe Mattiello <[email protected]>
  • Loading branch information
Jeehut and JoeMatt committed Jan 14, 2020
1 parent e4ebbb0 commit d17c0c9
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
**Hero** is a library for building iOS view controller transitions. It provides a declarative layer on top of the UIKit's cumbersome transition APIs—making custom transitions an easy task for developers.

[![Carthage compatible](https://img.shields.io/badge/Carthage-Compatible-brightgreen.svg?style=flat)](https://github.com/Carthage/Carthage)
[![Accio supported](https://img.shields.io/badge/Accio-supported-0A7CF5.svg?style=flat)](https://github.com/JamitLabs/Accio)
[![codecov](https://codecov.io/gh/HeroTransitions/Hero/branch/develop/graph/badge.svg)](https://codecov.io/gh/HeroTransitions/Hero)
[![Version](https://img.shields.io/cocoapods/v/Hero.svg?style=flat)](http://cocoapods.org/pods/Hero)
[![License](https://img.shields.io/cocoapods/l/Hero.svg?style=flat)](https://github.com/lkzhao/Hero/blob/master/LICENSE?raw=true)
Expand Down Expand Up @@ -106,6 +107,27 @@ Then run `carthage update`.

If this is your first time using Carthage in the project, you'll need to go through some additional steps as explained [over at Carthage](https://github.com/Carthage/Carthage#adding-frameworks-to-an-application).

### Accio

Add the following to your `Package.swift`:

```swift
.package(url: "https://github.com/HeroTransitions/Hero.git", .upToNextMajor(from: "1.4.0")),
```

Next, add `Hero` to your App targets dependencies like so:

```swift
.target(
name: "App",
dependencies: [
"Hero",
]
),
```

Then run `accio update`.

### Swift Package Manager

To integrate using Apple's Swift package manager, add the following as a dependency to your `Package.swift`:
Expand Down

0 comments on commit d17c0c9

Please sign in to comment.