From ef6aebf9ae09db18918e8a922268eb9ef7789be9 Mon Sep 17 00:00:00 2001 From: rain2540 Date: Wed, 25 Mar 2020 14:16:19 +0800 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1d24fb83..4c371c21 100644 --- a/README.md +++ b/README.md @@ -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 ```