KodioApp

@main
struct KodioApp : App

SwiftUI Scene for the application

  • The AppState model

    Declaration

    Swift

    @StateObject
    var appState: AppState { get }
  • The KodiConnector model

    Declaration

    Swift

    @StateObject
    var kodi: KodiConnector { get }
  • The KodiPlayer model

    Declaration

    Swift

    @StateObject
    var player: KodiPlayer { get }
  • Open new windows

    Declaration

    Swift

    @Environment
    var openWindow: OpenWindowAction { get }
  • AppKit app delegate

    Declaration

    Swift

    @NSApplicationDelegateAdaptor
    private var appDelegate: AppDelegate { get }

Body of the Scene

  • The body of the Scene

    Declaration

    Swift

    var body: some Scene { get }
  • The body of the Scene

  • The kind of Windows Kodio can open

    See more

    Declaration

    Swift

    enum Windows : String, Codable