From 063cf865794fabd5dee4bce6745a7bcdda250438 Mon Sep 17 00:00:00 2001 From: Garrett Moon Date: Wed, 10 Feb 2016 18:35:29 -0800 Subject: [PATCH] PINRemoteImage 2.0 moved its tag, who the hell are these idiots. -signed, author of PINRemoteImage --- AsyncDisplayKit/Details/ASPINRemoteImageDownloader.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AsyncDisplayKit/Details/ASPINRemoteImageDownloader.m b/AsyncDisplayKit/Details/ASPINRemoteImageDownloader.m index 45f12cf0..25601373 100644 --- a/AsyncDisplayKit/Details/ASPINRemoteImageDownloader.m +++ b/AsyncDisplayKit/Details/ASPINRemoteImageDownloader.m @@ -67,13 +67,13 @@ ASDisplayNodeAssert([downloadIdentifier isKindOfClass:[NSUUID class]], @"downloadIdentifier must be NSUUID"); if (progressBlock) { - [[PINRemoteImageManager sharedImageManager] setProgressCallback:^(PINRemoteImageManagerResult * _Nonnull result) { + [[PINRemoteImageManager sharedImageManager] setProgressImageCallback:^(PINRemoteImageManagerResult * _Nonnull result) { dispatch_async(callbackQueue, ^{ progressBlock(result.image, result.UUID); }); } ofTaskWithUUID:downloadIdentifier]; } else { - [[PINRemoteImageManager sharedImageManager] setProgressCallback:nil ofTaskWithUUID:downloadIdentifier]; + [[PINRemoteImageManager sharedImageManager] setProgressImageCallback:nil ofTaskWithUUID:downloadIdentifier]; } }