Skip to content

Real Time viewing attached RIBs Tree on Browser

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.txt
Notifications You must be signed in to change notification settings

kuritatu18/RIBsTreeViewerClient

 
 

Repository files navigation

Carthage compatible

RIBsTreeViewer

Real Time viewing attached RIBs Tree on Browser

Demo

Carthage

Cartfile

github "srea/RIBsTreeViewerClient"

Build Phase


Carthage CopyFrameworks (ONLY DEBUG)

 if [ ${CONFIGURATION%%-*} == "Debug" ]; then
    /usr/local/bin/carthage copy-frameworks
 fi

Implementation

// 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

WebSocket Server

$ yarn install
$ node index.js

Browser

$ yarn install
$ npx webpack
$ open ./public/index.html

About

Real Time viewing attached RIBs Tree on Browser

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.txt

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 70.2%
  • JavaScript 16.5%
  • HTML 7.9%
  • Objective-C 5.4%