Details
struct Details : View
SwiftUI View for details of a TV show
-
The
TV showto showDeclaration
Swift
private let selectedTVshow: Video.Details.TVShow -
The KodiConnector model
Declaration
Swift
@Environment private var kodi: KodiConnector { get } -
The state values of the
TV showDeclaration
Swift
@State private var tvshow: Video.Details.TVShow { get nonmutating set } -
Init the
ViewDeclaration
Swift
init(tvshow: Video.Details.TVShow)
-
The body of the
ViewDeclaration
Swift
var body: some View { get } -
Update a TVshow
Declaration
Swift
func update(tvshow: Video.Details.TVShow) -> Video.Details.TVShow?Parameters
tvshowThe current TV show
Return Value
The updated TV show
-
The content of the
ViewDeclaration
Swift
var content: some View { get }
-
The details of the TV show
Declaration
Swift
var tvshowDetails: some View { get } -
Info about the TV show
Declaration
Swift
var info: String { get } -
Watched label
Declaration
Swift
var watchedLabel: String { get }
View on GitHub
Details Structure Reference