- 37개 파일 IP → zioinfo.co.kr 치환 (소스/매뉴얼/설정/하네스) - Manager DrConsole/NetworkConsole/CsapConsole 빌드 + /var/www/manager/ 배포 - 테스트: Manager HTTP 200, ITSM 신규 API 7개 전체 200 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
85 lines
3.1 KiB
Objective-C
85 lines
3.1 KiB
Objective-C
// Copyright 2016-present 650 Industries. All rights reserved.
|
|
|
|
#import <UIKit/UIKit.h>
|
|
#import <Foundation/Foundation.h>
|
|
#import <ExpoModulesCore/EXSingletonModule.h>
|
|
#import <EXSplashScreen/EXSplashScreenViewController.h>
|
|
#import <EXSplashScreen/EXSplashScreenViewProvider.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
typedef NS_OPTIONS(NSUInteger, EXSplashScreenOptions) {
|
|
EXSplashScreenDefault = 0,
|
|
|
|
// Show splash screen even it was already shown before.
|
|
// e.g. show splash screen again when reloading apps,
|
|
EXSplashScreenForceShow = 1 << 0,
|
|
};
|
|
|
|
/**
|
|
* Entry point for handling SplashScreen associated mechanism.
|
|
* This class has state based on the following relation { ViewController -> ApplicationSplashScreenState }.
|
|
* Each method call has to be made using ViewController that holds Application's view hierachy.
|
|
*/
|
|
@protocol EXSplashScreenService <NSObject>
|
|
|
|
/**
|
|
* Overloaded method. See main method below.
|
|
*/
|
|
- (void)showSplashScreenFor:(UIViewController *)viewController
|
|
options:(EXSplashScreenOptions)options;
|
|
|
|
/**
|
|
* Entry point for SplashScreen unimodule.
|
|
* Registers SplashScreen for given viewController and presents it in that viewController.
|
|
*/
|
|
- (void)showSplashScreenFor:(UIViewController *)viewController
|
|
options:(EXSplashScreenOptions)options
|
|
splashScreenViewProvider:(id<EXSplashScreenViewProvider>)splashScreenViewProvider
|
|
successCallback:(void (^)(void))successCallback
|
|
failureCallback:(void (^)(NSString *message))failureCallback;
|
|
|
|
/**
|
|
* Entry point for SplashScreen unimodule.
|
|
* Registers SplashScreen for given viewController and EXSplashController and presents it in that viewController.
|
|
*/
|
|
-(void)showSplashScreenFor:(UIViewController *)viewController
|
|
options:(EXSplashScreenOptions)options
|
|
splashScreenController:(EXSplashScreenViewController *)splashScreenController
|
|
successCallback:(void (^)(void))successCallback
|
|
failureCallback:(void (^)(NSString *message))failureCallback;
|
|
|
|
/**
|
|
* Hides SplashScreen for given viewController.
|
|
*/
|
|
- (void)hideSplashScreenFor:(UIViewController *)viewController
|
|
options:(EXSplashScreenOptions)options
|
|
successCallback:(void (^)(BOOL hasEffect))successCallback
|
|
failureCallback:(void (^)(NSString *message))failureCallback;
|
|
|
|
/**
|
|
* Prevents SplashScreen from default autohiding.
|
|
*/
|
|
- (void)preventSplashScreenAutoHideFor:(UIViewController *)viewController
|
|
options:(EXSplashScreenOptions)options
|
|
successCallback:(void (^)(BOOL hasEffect))successCallback
|
|
failureCallback:(void (^)(NSString *message))failureCallback;
|
|
|
|
/**
|
|
* Signaling method that has to be called upon Content is rendered in view hierarchy.
|
|
* Autohide functionality depends on this call.
|
|
*/
|
|
- (void)onAppContentDidAppear:(UIViewController *)viewController;
|
|
|
|
/**
|
|
* Signaling method that is responsible for reshowing SplashScreen upon full content reload.
|
|
*/
|
|
- (void)onAppContentWillReload:(UIViewController *)viewController;
|
|
|
|
@end
|
|
|
|
@interface EXSplashScreenService : EXSingletonModule <EXSplashScreenService, UIApplicationDelegate>
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|