Added note about RACDisposable.

This commit is contained in:
Ash Furrow
2013-10-15 19:23:36 -04:00
parent 82e3bf8e57
commit 1f404ff230

View File

@@ -12,7 +12,8 @@
@interface FRPCell ()
@property (nonatomic, weak) UIImageView *imageView;
@property (nonatomic, weak) RACDisposable *subscription;
// Note: This needs to be strong
@property (nonatomic, strong) RACDisposable *subscription;
@end
@@ -38,7 +39,7 @@
-(void)prepareForReuse {
[super prepareForReuse];
[self.subscription dispose];
[self.subscription dispose], self.subscription = nil;
}
-(void)setPhotoModel:(FRPPhotoModel *)photoModel {