Integrated the RecordingView feature into the ContentView view in the Sample app target.

This commit is contained in:
2026-07-03 20:05:11 +02:00
parent c980dfc0a5
commit 7c1281ec75
2 changed files with 21 additions and 8 deletions
+6
View File
@@ -1,10 +1,16 @@
import SwiftUI
/// The entry point of the Attendi sample app.
@main
struct AttendiApp: App {
// MARK: Body
/// The content of the app: a single window group showing the ``ContentView``.
var body: some Scene {
WindowGroup {
ContentView()
}
}
}
+15 -8
View File
@@ -1,17 +1,24 @@
import Recording
import SwiftUI
/// The root view of the Attendi sample app.
///
/// The view hosts the `RecordingView` feature from the `Recording` target of the `Features` package, which drives the whole recording flow.
struct ContentView: View {
// MARK: Body
/// The content of the view: the recording feature's view.
var body: some View {
VStack {
Image(systemName: "globe")
.imageScale(.large)
.foregroundStyle(.tint)
Text("Hello, world!")
}
.padding()
RecordingView()
}
}
#Preview {
// MARK: - Previews
#Preview(
"Content view"
) {
ContentView()
}