mirror of
https://github.com/zhigang1992/FunctionalReactivePixels.git
synced 2026-06-19 18:03:26 +08:00
Added note about RACDisposable.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user