Update README.md

This commit is contained in:
rain2540 2020-03-25 14:16:19 +08:00 committed by GitHub
parent 2dcf1b6599
commit ef6aebf9ae
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
```