fixes for Swift 6 and threading concerns
This commit is contained in:
@@ -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)
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user