123456789101112131415 |
- #import <Foundation/Foundation.h>
- #import <UIKit/UIKit.h>
- #import "RNNStore.h"
-
- @interface RNNModalManager : NSObject
-
- @property (nonatomic, strong) UIViewController<RNNRootViewProtocol>* toVC;
-
- - (instancetype)initWithStore:(RNNStore*)store;
- - (void)showModal:(UIViewController*)viewController animated:(BOOL)animated completion:(RNNTransitionCompletionBlock)completion;
- - (void)dismissModal:(NSString *)componentId completion:(RNNTransitionCompletionBlock)completion;
- - (void)dismissAllModals;
-
- @end
|