Structures

The following structures are available globally.

  • A wrapper to be used in SwiftUI Lists

    See more

    Declaration

    Swift

    struct SysSound : Identifiable
  • The SwiftUI main view.

    See more

    Declaration

    Swift

    struct ContentView : View
  • SwiftUI preview for ContentView

    See more

    Declaration

    Swift

    struct ContentView_Previews : PreviewProvider
  • A Button style to keep things dry

    See more

    Declaration

    Swift

    struct GDButtonStyle : ButtonStyle
  • The main app. It creates the Audio object and puts it into the environment.

    See more

    Declaration

    Swift

    @main
    struct SystemSoundsApp : App