Prism is distributed exclusively as a Swift package. You add it through Swift Package Manager, either from Xcode’s package dependency UI or by editingDocumentation Index
Fetch the complete documentation index at: https://docs.prism.byescaleira.com/llms.txt
Use this file to discover all available pages before exploring further.
Package.swift directly. You can import the full Prism umbrella or pull in only the modules your target actually needs.
- Full package
- Individual modules
Import the 2. Import at the top of any Swift file:The
Prism umbrella target to get all seven modules in one step. This is the fastest way to get started and is appropriate for app targets that use features from multiple modules.1. Declare the dependency in Package.swift:Prism target uses @_exported import to re-export PrismFoundation, PrismNetwork, PrismArchitecture, PrismUI, PrismVideo, and PrismIntelligence. A single import Prism line makes the full public API available.Importing individual modules rather than the
Prism umbrella reduces incremental build times and keeps your target’s dependency surface explicit. It’s especially useful for framework or library targets that you distribute to other apps.Platform and Swift requirements
Prism’s deployment targets are set to the latest OS generation so thatPrismUI can use recent SwiftUI APIs without availability guards.
| Requirement | Minimum version |
|---|---|
| Swift | 6.3 |
| Xcode | 16.4 |
| iOS | 26 |
| macOS | 26 |
| Mac Catalyst | 26 |
| tvOS | 26 |
| watchOS | 26 |
| visionOS | 26 |
Add via Xcode
If you prefer Xcode’s graphical package manager:- Open your project in Xcode.
- Go to File → Add Package Dependencies.
- Paste
https://github.com/rafaelesantos/prism.gitinto the search field. - Choose a version rule (use Up to Next Major Version from
1.0.0). - Select the products you want to add and click Add Package.