Skip to content
Flow-UILive

Installation

Add the Flow-UI server driven UI package to an iOS or macOS app with Swift Package Manager. Requires iOS 17, no third party dependencies.

Flow-UI is a Swift package with no third party dependencies. It supports iOS 17 and later, and macOS 14 and later. The source lives at github.com/ayushmishracognitain/FlowUI under the MIT licence, free for commercial and personal use.

Xcode#

Choose File, Add Package Dependencies and enter the repository URL. Add the FlowUI product to your app target.

Package.swift#

Package.swiftswift
dependencies: [
    .package(url: "https://github.com/ayushmishracognitain/FlowUI", from: "1.0.0")
],
targets: [
    .target(
        name: "MyApp",
        dependencies: [
            .product(name: "FlowUI", package: "flowui")
        ]
    )
]

Choosing products#

FlowUI is the umbrella and the right default. If you are building backend tooling or tests that only need the schema, depend on FlowCore alone: it imports nothing but Foundation and compiles anywhere Swift runs.

ProductUse when
FlowUIBuilding app screens. Includes core, renderer and the starter widgets.
FlowCoreSchema only: fixtures, validators, server side Swift.
FlowRenderRenderer without the starter widget library.