Swiftpack.co -  srea/RIBsTreeViewerClient as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
Real Time viewing attached RIBs Tree on Browser
.package(url: "https://github.com/srea/RIBsTreeViewerClient.git", from: "1.1.0")

Carthage compatible


Real Time viewing attached RIBs Tree on Browser


Using the Libraries


Add the xcframework to your project。



This is not supported because the RIBs do not provide an up-to-date PodSpec, making it difficult to resolve dependencies.


github "srea/RIBsTreeViewerClient"
$ carthage update --platform iOS --no-use-binaries

Build Phase

Carthage CopyFrameworks (ONLY DEBUG)

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

Basic setup

public class AppDelegate: UIResponder, UIApplicationDelegate {

    private var ribsTreeViewer: RIBsTreeViewer? = nil
    public func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
        let window = UIWindow(frame: UIScreen.main.bounds)
        self.window = window

        let result = RootBuilder(dependency: AppComponent()).build()
        let launchRouter = result.launchRouter
        self.launchRouter = launchRouter
        urlHandler = result.urlHandler
        launchRouter.launch(from: window)
        startRIBsTreeViewer(launchRouter: launchRouter)
        return true
// MARK: - RIBsTreeViewer

import RIBsTreeViewerClient

extension AppDelegate {
    private func startRIBsTreeViewer(launchRouter: Routing) {
        if #available(iOS 13.0, *) {
            ribsTreeViewer = RIBsTreeViewerImpl.init(router: launchRouter,
                                                     options: [.webSocketURL("ws://"),
        } else {
            // RIBsTreeViewer is not supported OS version.


$ npm install yarn

Starting the websocke server

$ npx yarn install
$ node index.js

Open the page.

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


Stars: 90
Last commit: 2 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Submit a free job ad (while I'm testing this). The analytics numbers for this website are here.

Release Notes

catch up
1 year ago
  • Supported SwiftPM
  • Added RIBsTreeViewerClient.xcframework
  • Added Example Projects
  • Updated README.md

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics