Committed by
GitHub
Small README Update For 4.0.0
Update the method name in the README to match the method name in 4.0.0.
Showing
1 changed file
with
4 additions
and
4 deletions
@@ -124,13 +124,13 @@ If you don't control the image server you're using, you may not be able to chang | @@ -124,13 +124,13 @@ If you don't control the image server you're using, you may not be able to chang | ||
124 | Add these before you call ```sd_setImageWithURL``` | 124 | Add these before you call ```sd_setImageWithURL``` |
125 | 125 | ||
126 | ``` objective-c | 126 | ``` objective-c |
127 | -[imageView setShowActivityIndicatorView:YES]; | ||
128 | -[imageView setIndicatorStyle:UIActivityIndicatorViewStyleGray]; | 127 | +[imageView sd_setShowActivityIndicatorView:YES]; |
128 | +[imageView sd_setIndicatorStyle:UIActivityIndicatorViewStyleGray]; | ||
129 | ``` | 129 | ``` |
130 | 130 | ||
131 | ``` swift | 131 | ``` swift |
132 | -imageView.setShowActivityIndicatorView(true) | ||
133 | -imageView.setIndicatorStyle(.Gray) | 132 | +imageView.sd_setShowActivityIndicatorView(true) |
133 | +imageView.sd_setIndicatorStyle(.Gray) | ||
134 | ``` | 134 | ``` |
135 | 135 | ||
136 | Installation | 136 | Installation |
-
Please register or login to post a comment