Update install instructions
This commit is contained in:
parent
fd21d17939
commit
d595317583
11
README.md
11
README.md
|
@ -19,12 +19,15 @@ and nullify all the other frames to free up memory (gray):
|
||||||
|
|
||||||
<img src="https://db.tt/ZLfx23hg" width="300" />
|
<img src="https://db.tt/ZLfx23hg" width="300" />
|
||||||
|
|
||||||
|
#### Install
|
||||||
|
|
||||||
|
If you use [Carthage](https://github.com/Carthage/Carthage), add this to your `cartfile`: `github "kaishin/gifu"`.
|
||||||
|
|
||||||
|
If your prefer Git submodules or want to support iOS 7, you want to add the files in `source` to your Xcode project.
|
||||||
|
|
||||||
#### Usage
|
#### Usage
|
||||||
|
|
||||||
Use git submodules or drag-and-drop the files in your Xcode project. I can't
|
Call `setAnimatableImage(named:)` or
|
||||||
believe I'm saying this in 2014.
|
|
||||||
|
|
||||||
Once done, you can call `setAnimatableImage(named:)` or
|
|
||||||
`setAnimatableImage(data:)` on your `UIImageView` (or its subclass):
|
`setAnimatableImage(data:)` on your `UIImageView` (or its subclass):
|
||||||
|
|
||||||
```swift
|
```swift
|
||||||
|
|
Loading…
Reference in New Issue