- 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>
44 lines
1.2 KiB
Swift
44 lines
1.2 KiB
Swift
// Copyright 2018-present 650 Industries. All rights reserved.
|
|
|
|
/**
|
|
The handler for `ExpoReactDelegate`. A module can implement a handler to process react instance creation.
|
|
*/
|
|
@objc(EXReactDelegateHandler)
|
|
open class ExpoReactDelegateHandler: NSObject {
|
|
public override required init() {}
|
|
|
|
/**
|
|
If this module wants to handle React instance and the root view creation, it can return the instance.
|
|
Otherwise return nil.
|
|
*/
|
|
#if os(iOS) || os(tvOS)
|
|
@objc
|
|
open func createReactRootView(
|
|
reactDelegate: ExpoReactDelegate,
|
|
moduleName: String,
|
|
initialProperties: [AnyHashable: Any]?,
|
|
launchOptions: [UIApplication.LaunchOptionsKey: Any]?
|
|
) -> UIView? {
|
|
return nil
|
|
}
|
|
#endif
|
|
|
|
/**
|
|
Clients could override this getter to serve the latest bundleURL for React instance.
|
|
For example, expo-updates uses this to serve the newer bundleURL from `Updates.reloadAsync()`.
|
|
*/
|
|
@objc
|
|
open func bundleURL(reactDelegate: ExpoReactDelegate) -> URL? {
|
|
return nil
|
|
}
|
|
|
|
/**
|
|
If this module wants to handle `UIViewController` creation for `RCTRootView`, it can return the instance.
|
|
Otherwise return nil.
|
|
*/
|
|
@objc
|
|
open func createRootViewController(reactDelegate: ExpoReactDelegate) -> UIViewController? {
|
|
return nil
|
|
}
|
|
}
|