Skip to content

Commit c6cb1d4

Browse files
committed
Update README
1 parent cbb18fd commit c6cb1d4

File tree

1 file changed

+20
-11
lines changed

1 file changed

+20
-11
lines changed

README.md

+20-11
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,26 @@
44

55
<p align="center">
66
<a href="https://developer.apple.com/swift"><img alt="Swift5" src="https://img.shields.io/badge/language-Swift5-orange.svg"/></a>
7-
<a href="https://github.com/kzumu/Elephant/releases/latest"><img alt="Release" src="https://img.shields.io/github/release/kzumu/Elephant.svg"/></a>
7+
<a href="https://github.com/s2mr/Elephant/releases/latest"><img alt="Release" src="https://img.shields.io/github/release/s2mr/Elephant.svg"/></a>
88
<a href="https://cocoapods.org/pods/Carbon"><img alt="CocoaPods" src="https://img.shields.io/cocoapods/v/Elephant.svg"/></a>
99
<a href="https://github.com/Carthage/Carthage"><img alt="Carthage" src="https://img.shields.io/badge/carthage-compatible-yellow.svg"/></a>
1010
<a href="https://app.fossa.io/projects/git%2Bgithub.com%2Fkzumu%2FElephant?ref=badge_shield" alt="FOSSA Status"><img src="https://app.fossa.io/api/projects/git%2Bgithub.com%2Fkzumu%2FElephant.svg?type=shield"/></a>
1111
</br>
1212
<a href="https://developer.apple.com/"><img alt="Platform" src="https://img.shields.io/badge/platform-iOS-green.svg"/></a>
13-
<a href="https://github.com/kzumu/Elephant/blob/master/LICENSE"><img alt="Lincense" src="https://img.shields.io/badge/License-Apache%202.0-black.svg"/></a>
13+
<a href="https://github.com/s2mr/Elephant/blob/master/LICENSE"><img alt="Lincense" src="https://img.shields.io/badge/License-Apache%202.0-black.svg"/></a>
1414
</p>
1515

1616
## Example
1717
You can run example app. Please open `Example-iOS/Elephant-iOS.xcworkspace`!
1818

19-
<img src="https://github.com/kzumu/Elephant/raw/resources/Resources/demo.gif" width="300" align="center"/>
19+
<img src="https://github.com/s2mr/Elephant/raw/resources/Resources/demo.gif" width="300" align="center"/>
2020

2121
## Usage
2222
You can display the svg image with animation.
23-
23+
2424
**We are supportted two animation formats😎**
2525

26-
The format is below.
26+
The format is below.
2727
- Animation in SVG
2828
- Animation in CSS
2929

@@ -60,19 +60,19 @@ class ViewController: UIViewController {
6060
svgView.heightAnchor.constraint(equalToConstant: 400),
6161
])
6262

63-
svgView.startAnimation()
63+
svgView.startAnimation()
6464

6565
// svgView.stopAnimation() // Stop animation.
6666

6767
// svgView.isAnimate { [weak self] (value, error) in
6868
// if let error = error {
6969
// print(error)
70-
// }
70+
// }
7171
// guard let value = value else { return } // value means whether animation is moving.
7272
// }
7373
}
7474
}
75-
75+
7676
```
7777

7878
## Requirements
@@ -81,6 +81,16 @@ class ViewController: UIViewController {
8181

8282
## Installation
8383

84+
### [Swift package manager](https://github.com/apple/swift-package-manager)
85+
86+
Add the following to the dependencies of your Package.swift:
87+
88+
``` swift
89+
dependencies: [
90+
.package(url: "https://github.com/s2mr/Elephant.git", from: "Elephant version"),
91+
]
92+
```
93+
8494
### [CocoaPods](https://cocoapods.org)
8595
Add this to `Podfile`
8696

@@ -92,12 +102,11 @@ pod 'Elephant'
92102
$ pod install
93103
```
94104

95-
### Carthage
96105
### [Carthage](https://github.com/Carthage/Carthage)
97106
Add this to `Cartfile`
98107

99108
```
100-
github "kzumu/Elephant"
109+
github "s2mr/Elephant"
101110
```
102111

103112
```bash
@@ -113,4 +122,4 @@ $ carthage update --platform ios
113122
Elephant is available under the Apache v2. See the LICENSE file for more info.
114123

115124

116-
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fkzumu%2FElephant.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fkzumu%2FElephant?ref=badge_large)
125+
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%s2mr%2FElephant.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fs2mr%2FElephant?ref=badge_large)

0 commit comments

Comments
 (0)