Merge pull request #2962 from rain2540/patch-1

Update README.md
This commit is contained in:
DreamPiggy 2020-03-25 14:40:30 +08:00 committed by GitHub
commit 0335b96114
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ imageView.image = animatedImage;
```swift
let imageView = SDAnimatedImageView()
let animatedImage = SDAnimatedImage(name: "image.gif")
let animatedImage = SDAnimatedImage(named: "image.gif")
imageView.image = animatedImage
```