mirror of
https://github.com/zhigang1992/FunctionalReactivePixels.git
synced 2026-01-12 17:22:42 +08:00
Removed used SVProgressHUD call.
This commit is contained in:
@@ -13,11 +13,11 @@
|
||||
@interface FRPFullSizePhotoViewModel : RVMViewModel
|
||||
|
||||
-(instancetype)initWithPhotoArray:(NSArray *)photoArray initialPhotoIndex:(NSInteger)initialPhotoIndex;
|
||||
-(FRPPhotoModel *)photoModelAtIndex:(NSInteger)index;
|
||||
|
||||
@property (nonatomic, readonly, strong) NSArray *model;
|
||||
@property (nonatomic, readonly) NSInteger initialPhotoIndex;
|
||||
|
||||
@property (nonatomic, readonly) NSString *initialPhotoName;
|
||||
-(FRPPhotoModel *)photoModelAtIndex:(NSInteger)index;
|
||||
|
||||
@end
|
||||
|
||||
@@ -51,10 +51,6 @@
|
||||
imageView.contentMode = UIViewContentModeScaleAspectFit;
|
||||
[self.view addSubview:imageView];
|
||||
self.imageView = imageView;
|
||||
|
||||
[self.viewModel.didBecomeActiveSignal subscribeNext:^(id x) {
|
||||
[SVProgressHUD dismiss];
|
||||
}];
|
||||
}
|
||||
|
||||
-(void)viewDidAppear:(BOOL)animated {
|
||||
|
||||
Reference in New Issue
Block a user