Skip to content

Commit 72ed897

Browse files
committed
Formatting in the readme.md
1 parent 8431481 commit 72ed897

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

README.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -96,17 +96,15 @@ Here is a simple example of how to use SDWebImageManager:
9696
```objective-c
9797
SDWebImageManager *manager = [SDWebImageManager sharedManager];
9898
[manager downloadImageWithURL:imageURL
99-
options:0
100-
progress:^(NSInteger receivedSize, NSInteger expectedSize)
101-
{
102-
// progression tracking code
103-
}
104-
completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished, NSURL *imageURL)
105-
{
106-
if (image) {
107-
// do something with image
108-
}
109-
}];
99+
options:0
100+
progress:^(NSInteger receivedSize, NSInteger expectedSize) {
101+
// progression tracking code
102+
}
103+
completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished, NSURL *imageURL) {
104+
if (image) {
105+
// do something with image
106+
}
107+
}];
110108
```
111109

112110
### Using Asynchronous Image Downloader Independently

0 commit comments

Comments
 (0)