Skip to content

Commit

Permalink
Update MKAnnotationView+WebCache.m
Browse files Browse the repository at this point in the history
Replace deprecated method call
  • Loading branch information
vjyanand authored and devedup committed Sep 10, 2014
1 parent 67c5973 commit d6874ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SDWebImage/MKAnnotationView+WebCache.m
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ - (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder
}

- (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletionBlock)completedBlock {
[self cancelCurrentImageLoad];
[self sd_cancelCurrentImageLoad];

objc_setAssociatedObject(self, &imageURLKey, url, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
self.image = placeholder;
Expand Down

0 comments on commit d6874ff

Please sign in to comment.