Separate tree under ios/ with its own Makefile: XcodeGen project, unsigned device build ad-hoc signed with entitlements and packed as an .ipa. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
31 lines
1.1 KiB
Swift
31 lines
1.1 KiB
Swift
// SPDX-FileCopyrightText: 2026 Reactorcoremeltdown
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
import SwiftUI
|
|
|
|
struct ContentView: View {
|
|
@StateObject private var test = SelfTest()
|
|
|
|
var body: some View {
|
|
VStack(alignment: .leading, spacing: 12) {
|
|
Text("Sizzle AUv3 spike").font(.system(.title2, design: .monospaced)).foregroundColor(.orange)
|
|
Text("In AUM / GarageBand / Loopy look for\n\"Tired Sysadmin: Sizzle Spike Sine\" (instrument).")
|
|
.font(.system(.footnote, design: .monospaced)).foregroundColor(.gray)
|
|
HStack {
|
|
Button("Run self-test") { Task { await test.run() } }
|
|
Button("Play tone (1 s)") { Task { await test.playTone() } }
|
|
}
|
|
.buttonStyle(.bordered)
|
|
ScrollView {
|
|
Text(test.lines.joined(separator: "\n"))
|
|
.font(.system(.footnote, design: .monospaced))
|
|
.frame(maxWidth: .infinity, alignment: .leading)
|
|
.textSelection(.enabled)
|
|
}
|
|
}
|
|
.padding()
|
|
.preferredColorScheme(.dark)
|
|
.task { await test.run() }
|
|
}
|
|
}
|