SongView
struct SongView : View
SwiftUI View
for the song
-
The app state
Declaration
Swift
@Environment private var appState: AppState { get }
-
The scene state
Declaration
Swift
@Environment private var sceneState: SceneState { get }
-
Chord Display Options
Declaration
Swift
@Environment private var chordDisplayOptions: ChordDisplayOptions { get }
-
The minimum scale factor
Declaration
Swift
private let minScale: Double
-
The maximum scale factor
Declaration
Swift
private let maxScale: Double
-
Observe the gesture state
Declaration
Swift
@GestureState private var magnificationState: SongView.MagnificationState { get }
-
State of the
See moreMagnificationGesture
Declaration
Swift
private enum MagnificationState
-
Calculate the scale within the minimum and maximum scale value
Declaration
Swift
private var scale: Double { get }
-
The
MagnifyGesture
Declaration
Swift
private var magnifyGesture: some Gesture { get }
-
The
TapGesture
Declaration
Swift
private var doubleTapGesture: some Gesture { get }
-
The body of the
View
Declaration
Swift
var body: some View { get }