DirectiveSheet
struct DirectiveSheet: View
SwiftUI View
to define a directive
-
The directive settings
Declaration
Swift
var settings: DirectiveSettings
-
The scene state
Declaration
Swift
var sceneState
-
The label for the action button
Declaration
Swift
var actionLabel: String
-
The value for a slider
Declaration
Swift
private var sliderValue: Double = 0
-
Init the
View
Declaration
Swift
init(settings: Binding<DirectiveSettings>)
-
The dismiss environment
Declaration
Swift
var dismiss
-
The body of the
View
Declaration
Swift
var body: some View
-
The cancel button
Declaration
Swift
var cancelButton: some View
-
View
of the directive sheet titleDeclaration
Swift
var directiveTitleView: some View
-
The default
View
when there is no specificView
for theDirective
Declaration
Swift
var defaultView: some View
-
View
to define a chordDeclaration
Swift
var defineView: some View
-
View
to define the ‘slider’ for a number directiveDeclaration
Swift
func sliderView(start: Double, end: Double) -> some View
-
View
to define the ‘key’ of the songDeclaration
Swift
var keyView: some View