Real Time viewing attached RIBs Tree on Browser
github "srea/RIBsTreeViewerClient"
Carthage CopyFrameworks (ONLY DEBUG)
if [ ${CONFIGURATION%%-*} == "Debug" ]; then
/usr/local/bin/carthage copy-frameworks
fi
// MARK: - RIBsTreeViewer
#if DEBUG
import RIBsTreeViewerClient
@available(iOS 13.0, *)
var RIBsTreeViewerHolder: RIBsTreeViewer? = nil
extension AppDelegate {
private func startRIBsTreeViewer(launchRouter: Routing) {
if #available(iOS 13.0, *) {
RIBsTreeViewerHolder = RIBsTreeViewerImpl.init(router: launchRouter,
option: [.webSocketURL: "ws://0.0.0.0:8080",
.monitoringInterval: 1000]])
RIBsTreeViewerHolder?.start()
} else {
DEBUGLOG { "RIBsTreeViewer is not supported OS version." }
}
}
}
#endif
$ yarn install
$ node index.js
$ yarn install
$ npx webpack
$ open ./public/index.html