fixes for Swift 6 and threading concerns

This commit is contained in:
2026-06-02 12:09:44 -07:00
parent 2fa4bfd45e
commit 6d3a0930a1
327 changed files with 1596 additions and 199 deletions
+4 -4
View File
@@ -30,7 +30,7 @@ Optional GUI module. Import alongside `Lyrebird` when you need parameter control
import LyrebirdUI
```
Provides: `LyrebirdWindow` (AppKit/SwiftUI host), `@SynthParam` property wrapper, and pre-built slider/knob views. Uses Swift 5 language mode to avoid actor-isolation diagnostics in SwiftUI/AppKit interop.
Provides: `LyrebirdWindow` (AppKit/SwiftUI host), `@SynthParam` property wrapper, and pre-built slider/knob views. Builds under Swift 6 language mode (Phase 202).
**Rule:** never import `LyrebirdUI` in `Lyrebird` — GUI code must stay in this module only.
@@ -49,7 +49,7 @@ lyrebird export MySynth # generate a SynthesizerBase template
lyrebird repl # start Swift REPL with Lyrebird importable
```
Provides an interactive `lyrebird>` shell (via LineNoise) with history and tab completion. Uses Swift 5 language mode — LineNoise predates Swift 6 concurrency annotations.
Provides an interactive `lyrebird>` shell (via LineNoise) with history and tab completion. Builds under Swift 6 language mode (Phase 202).
See [cli-guide.md](cli-guide.md) for a full walkthrough.
@@ -110,12 +110,12 @@ swift test
```
LyrebirdC
└── Lyrebird (links CoreAudio, AudioToolbox, Accelerate)
├── LyrebirdUI (SwiftUI + AppKit, Swift 5 mode)
├── LyrebirdUI (SwiftUI + AppKit)
├── LyrebirdDemo
├── LyrebirdBenchmark
└── LyrebirdUIDemo (also links LyrebirdUI)
LyrebirdCLI (links LineNoise, Swift 5 mode)
LyrebirdCLI (links LineNoise)
```
---