Files
attendi/Apps/Attendi/ContentView.swift
T

28 lines
646 B
Swift
Raw Normal View History

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, attached to the simulated recording and transcribing services.
var body: some View {
RecordingView(
recorder: SimulatedRecordingService(),
transcriber: SimulatedTranscribingService()
)
}
}
// MARK: - Previews
#Preview(
"Content view"
) {
ContentView()
}