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 }
-
The body of the
ViewDeclaration
Swift
var body: some View { get }
-
The content of the
ViewDeclaration
Swift
@ViewBuilder var content: some View { get }
-
Get all seasons of a TV show
Declaration
Swift
private func getTVShowSeasons()
View on GitHub
SeasonsView Structure Reference