SeasonsView

struct SeasonsView : View

SwiftUI View for all Seasons of a TV show (shared)

  • The TV show

    Declaration

    Swift

    let tvshow: Video.Details.TVShow
  • The KodiConnector model

    Declaration

    Swift

    @Environment
    private var kodi: KodiConnector { get }
  • The SceneState model

    Declaration

    Swift

    @Environment
    private var scene: SceneState { get }
  • The seasons to show in this view

    Declaration

    Swift

    @State
    private var seasons: [Video.Details.Season] { get nonmutating set }

Body of the View

  • The body of the View

    Declaration

    Swift

    var body: some View { get }

Content of the View

  • The content of the View

    Declaration

    Swift

    @ViewBuilder
    var content: some View { get }

Private functions

  • Get all seasons of a TV show

    Declaration

    Swift

    private func getTVShowSeasons()