Authored by Olivier Poitrey

Merge pull request #249 from matej/early-progress-callback

Early progress callback
... ... @@ -140,6 +140,7 @@
53922D70148C55820056699D /* Products */,
);
sourceTree = "<group>";
usesTabs = 0;
};
53922D70148C55820056699D /* Products */ = {
isa = PBXGroup;
... ...
... ... @@ -71,6 +71,10 @@
if (self.connection)
{
if (self.progressBlock)
{
self.progressBlock(0, -1);
}
[[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStartNotification object:self];
}
else
... ...