Details
struct Details : View
SwiftUI View
for details of a TV show
-
The
TV show
to 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 show
Declaration
Swift
@State private var tvshow: Video.Details.TVShow { get nonmutating set }
-
Init the
View
Declaration
Swift
init(tvshow: Video.Details.TVShow)
-
The body of the
View
Declaration
Swift
var body: some View { get }
-
Update a TVshow
Declaration
Swift
func update(tvshow: Video.Details.TVShow) -> Video.Details.TVShow?
Parameters
tvshow
The current TV show
Return Value
The updated TV show
-
The content of the
View
Declaration
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 }