Fixed problem with FRPPhotoDetailViewModel.

This commit is contained in:
Ash Furrow
2013-10-25 19:25:12 -04:00
parent e71564c12a
commit e01a0d18a0

View File

@@ -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);