Permalink
Browse files

add prepareForReuse

  • Loading branch information...
anoopr committed Sep 30, 2011
1 parent 2ba5077 commit e0aec4adc125b408fe095ab102288da50d942882
Showing with 5 additions and 0 deletions.
  1. +5 −0 Classes/FLImageView.m
View
@@ -81,6 +81,11 @@ - (void)dealloc {
[super dealloc];
}
+- (void)prepareForReuse {
+ self.image = nil;
+ self.imageURLString = nil;
+}
+
- (void)loadImageAtURLString:(NSString *)aString placeholderImage:(UIImage *)placeholderImage {
self.imageURLString = aString;

0 comments on commit e0aec4a

Please sign in to comment.