Permalink
Browse files

Update MKAnnotationView+WebCache.m

Replace deprecated method call
  • Loading branch information...
1 parent 2e708d3 commit 99590ed6ec45835411ab1a9515d6091067c8a27d @vjyanand vjyanand committed Jul 6, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 SDWebImage/MKAnnotationView+WebCache.m
@@ -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;

0 comments on commit 99590ed

Please sign in to comment.