PlaylistView

struct PlaylistView : View

SwiftUI View for a playlist

  • The KodiConnector model

    Declaration

    Swift

    @EnvironmentObject
    var kodi: KodiConnector { get }
  • The list of songs

    Declaration

    Swift

    @State
    private var songs: [Audio.Details.Song] { get nonmutating set }
  • The playlist file

    Declaration

    Swift

    let playlist: SwiftlyKodiAPI.List.Item.File
  • The state of loading the playlist

    Declaration

    Swift

    @State
    var state: AppState.State { get nonmutating set }
  • The body of the View

    Declaration

    Swift

    var body: some View { get }