From fbad0138007afbf53600dc607c45b4f717986dbb Mon Sep 17 00:00:00 2001 From: Jon Tirsen Date: Tue, 30 Oct 2012 14:47:20 +0100 Subject: [PATCH] Send downloader as part of notification. --- SDWebImage/SDWebImageDownloader.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SDWebImage/SDWebImageDownloader.m b/SDWebImage/SDWebImageDownloader.m index 855e9c0..6285880 100644 --- a/SDWebImage/SDWebImageDownloader.m +++ b/SDWebImage/SDWebImageDownloader.m @@ -89,7 +89,7 @@ NSString *const SDWebImageDownloadStopNotification = @"SDWebImageDownloadStopNot if (connection) { - [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStartNotification object:nil]; + [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStartNotification object:self]; } else { @@ -106,7 +106,7 @@ NSString *const SDWebImageDownloadStopNotification = @"SDWebImageDownloadStopNot { [connection cancel]; self.connection = nil; - [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStopNotification object:nil]; + [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStopNotification object:self]; } }