mirror of
https://github.com/zhigang1992/FunctionalReactivePixels.git
synced 2026-04-30 21:11:43 +08:00
Fixed problem with FRPPhotoDetailViewModel.
This commit is contained in:
@@ -27,8 +27,8 @@
|
||||
|
||||
@implementation FRPPhotoDetailViewModel
|
||||
|
||||
-(instancetype)initWithPhotoModel:(FRPPhotoModel *)photoModel {
|
||||
self = [self init];
|
||||
-(instancetype)initWithModel:(FRPPhotoModel *)photoModel {
|
||||
self = [super initWithModel:photoModel];
|
||||
if (!self) return nil;
|
||||
|
||||
RAC(self, photoName) = RACObserve(self.model, photoName);
|
||||
|
||||
Reference in New Issue
Block a user