Skip to content

Commit

Permalink
[PR #45] Added note to README about storing a strong ref to image dow…
Browse files Browse the repository at this point in the history
…nloaders.
  • Loading branch information
ishaq authored and cnoon committed Oct 28, 2015
1 parent 0cadb88 commit f664428
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,8 @@ downloader.downloadImage(URLRequest: URLRequest) { response in
}
```

> Make sure to keep a strong reference to the `ImageDownloader` instance, otherwise the `completion` closure will not be called because the `downloader` reference will go out of scope before the `completion` closure can be called.
#### Applying an ImageFilter

```swift
Expand Down

0 comments on commit f664428

Please sign in to comment.