The sample story is no longer a single Uno app. The repository now has a shared sample layer plus two concrete hosts.
| Project | Role |
|---|---|
samples/PretextSamples.Shared |
Shared sample catalog, text assets, markdown/chat models, and reusable prepared-layout logic |
samples/PretextSamples.Uno |
Uno Platform host that uses Pretext.Uno |
samples/PretextSamples.MacOS |
Native AppKit host on net10.0-macos that binds Pretext to Pretext.CoreText |
None of the sample projects are packable NuGet packages.
The shared project keeps the interesting sample logic outside the UI host:
That lets the Uno and macOS hosts demonstrate the same scenarios without duplicating the data/model layer.
The hosts diverge only where they should:
PretextSamples owns Uno navigation, controls, and sample viewsPretextSamples.MacOS owns AppKit startup, native shell layout, and AppKit page viewsBoth hosts still demonstrate the same sample catalog:
samples/PretextSamples.Shared/Samples/SampleCatalog.cssamples/PretextSamples.Shared/Samplessamples/PretextSamples.Uno/Samplessamples/PretextSamples.MacOS/Pages