Improve commentary

This commit is contained in:
Adlai Holler
2016-05-07 15:18:11 -07:00
parent 654518b2b9
commit 68e324d2d0

View File

@@ -135,7 +135,7 @@
completion:(ASImageDownloaderCompletion)completion;
{
return [[self sharedPINRemoteImageManager] downloadImageWithURL:URL options:PINRemoteImageManagerDownloadOptionsSkipDecode progressDownload:^(int64_t completedBytes, int64_t totalBytes) {
/// If we're targeting the main queue and we're on the main thread, complete immediately.
/// If we're targeting the main queue and we're on the main thread, call immediately.
if (ASDisplayNodeThreadIsMain() && callbackQueue == dispatch_get_main_queue()) {
downloadProgress(totalBytes / (CGFloat)completedBytes);
} else {