-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
ChiefVenzox edited this page Jun 5, 2026
·
1 revision
NotebookFlowKit is distributed as a Swift Package.
- iOS 16+
- macOS 13+
- Swift Package Manager
- SwiftUI
NotebookFlowKit has no external dependencies.
- Open your app project in Xcode.
- Choose File > Add Package Dependencies.
- Enter the repository URL:
https://github.com/ChiefVenzox/NotebookFlowKit.git
- Add the
NotebookFlowKitproduct to your app target.
dependencies: [
.package(url: "https://github.com/ChiefVenzox/NotebookFlowKit.git", from: "0.1.0")
]Then add the product to your target:
.target(
name: "YourApp",
dependencies: [
.product(name: "NotebookFlowKit", package: "NotebookFlowKit")
]
)Flow JSON files should be included in your app target bundle.
For example, add starter_flow.json to your Xcode project and make sure it is included in Target Membership for the app.
Then load it by file name:
NotebookFlowView(fileName: "starter_flow") { result in
print(result.answers)
}The .json extension is optional when loading by file name.