C++ ports of the Kotlin effects, checked against audio the Kotlin code renders (25 scenarios, IosGoldenExport); an Objective-C++ AUv3 wrapper checked on the Mac against the core (parameters, presets, saved state); a container app that checks each plugin on the device. Built as a TrollStore .ipa. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
38 lines
1.7 KiB
Swift
38 lines
1.7 KiB
Swift
// SPDX-FileCopyrightText: 2026 Reactorcoremeltdown
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
import SwiftUI
|
|
|
|
/// The container app: what Sizzle installs as plugins, and an on-device check
|
|
/// that each one loads and processes sound. The plugins themselves are used from
|
|
/// a host (AUM, GarageBand, Loopy, …).
|
|
struct ContentView: View {
|
|
@StateObject private var check = PluginCheck()
|
|
|
|
var body: some View {
|
|
VStack(alignment: .leading, spacing: 12) {
|
|
Text("Sizzle").font(.system(.largeTitle, design: .monospaced)).foregroundColor(.orange)
|
|
Text("AUv3 plugins for AUM, GarageBand, Loopy and other hosts.\nLook for \"Tired Sysadmin: Sizzle …\".")
|
|
.font(.system(.footnote, design: .monospaced)).foregroundColor(.gray)
|
|
Text(versionLine).font(.system(.caption, design: .monospaced)).foregroundColor(.gray)
|
|
Button("Check all plugins") { Task { await check.run() } }
|
|
.buttonStyle(.bordered).disabled(check.running)
|
|
ScrollView {
|
|
Text(check.lines.joined(separator: "\n"))
|
|
.font(.system(.footnote, design: .monospaced))
|
|
.frame(maxWidth: .infinity, alignment: .leading)
|
|
.textSelection(.enabled)
|
|
}
|
|
}
|
|
.padding()
|
|
.preferredColorScheme(.dark)
|
|
.onAppear { check.listInstalled() }
|
|
}
|
|
|
|
private var versionLine: String {
|
|
let v = Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String ?? "?"
|
|
let b = Bundle.main.infoDictionary?["CFBundleVersion"] as? String ?? "?"
|
|
return "version \(v) (\(b)) · iOS \(ProcessInfo.processInfo.operatingSystemVersionString)"
|
|
}
|
|
}
|