-
Notifications
You must be signed in to change notification settings - Fork 0
Home
ChiefVenzox edited this page Jun 5, 2026
·
2 revisions
NotebookFlowKit is a lightweight Swift Package that turns JSON-defined flows into native SwiftUI screens.
It is designed for onboarding, surveys, quizzes, setup wizards, and learning flows that are authored outside the app, especially in Python or Jupyter notebooks.
- Define a flow in Python, Jupyter, or plain JSON.
- Export it as a JSON file.
- Add the JSON file to an iOS or macOS app bundle.
- Render it with
NotebookFlowView. - Receive collected answers through a completion callback.
import NotebookFlowKit
NotebookFlowView(fileName: "starter_flow") { result in
print(result.answers)
}- iOS 16+
- macOS 13+
- Swift Package Manager
- Native SwiftUI rendering
- JSON loading and validation
- Flow state management
- Completion callback with collected answers
- Basic built-in theme
- No external dependencies
textchoicemultiChoiceinputcompletion
- Linear navigation with
"next": "screen_id" - Conditional navigation with route maps
- Progress indicator
- Typed answer helpers
- Python/Jupyter helper for JSON export
- Installation
- JSON Flow Format
- SwiftUI Usage
- Conditional Navigation
- Python Jupyter Helper
- Theming
- Testing
- Roadmap
- GitHub profile: ChiefVenzox
- Website: www.hnmlabs.com