Hi, BarredEwe👋
I have an iOS project structured with a main Swift package that serves as the primary app module. This main package depends on several local Swift packages (UIComponents, DesignSystem, etc.) that each contain reusable components with SwiftUI previews. I want to use Playbook for creating a component catalog that aggregates and displays all components from these local packages.
MainApp/
├── Package.swift (main package)
├── Sources/
│ └── MainApp/PlaybookCatalog.swift
├── Dependencies/
│ ├── UIComponents/ (local package with previews)
│ └── DesignSystem/ (local package with previews)
└── Prefire.yaml
How to setup Package.swift (main package)?
How to setup local packages with Previews?
How to setup Prefire.yaml?
Thank you!
Hi, BarredEwe👋
I have an iOS project structured with a main Swift package that serves as the primary app module. This main package depends on several local Swift packages (UIComponents, DesignSystem, etc.) that each contain reusable components with SwiftUI previews. I want to use Playbook for creating a component catalog that aggregates and displays all components from these local packages.
How to setup Package.swift (main package)?
How to setup local packages with Previews?
How to setup Prefire.yaml?
Thank you!