This repository has been archived on 2022-03-12. You can view files and clone it, but cannot push or open issues or pull requests.
2021-04-02 02:24:13 +03:00

24 lines
911 B
Objective-C

// Copyright © 2018 650 Industries. All rights reserved.
#import <Foundation/Foundation.h>
#import <EXSplashScreen/EXSplashScreenViewProvider.h>
NS_ASSUME_NONNULL_BEGIN
@interface EXSplashScreenController : NSObject
- (instancetype)init NS_UNAVAILABLE;
- (instancetype)initWithViewController:(UIViewController *)viewController
splashScreenViewProvider:(id<EXSplashScreenViewProvider>)splashScreenViewProvider;
- (void)showWithCallback:(void (^)(void))successCallback failureCallback:(void (^)(NSString *message))failureCallback;
- (void)preventAutoHideWithCallback:(void (^)(BOOL hasEffect))successCallback failureCallback:(void (^)(NSString *message))failureCallback;
- (void)hideWithCallback:(void (^)(BOOL hasEffect))successCallback failureCallback:(void (^)(NSString *message))failureCallback;
- (void)onAppContentDidAppear;
- (void)onAppContentWillReload;
@end
NS_ASSUME_NONNULL_END