Details
struct Details : View
SwiftUI View
for details of a Movie
-
The
Movie
to showDeclaration
Swift
private let selectedMovie: Video.Details.Movie
-
The KodiConnector model
Declaration
Swift
@Environment private var kodi: KodiConnector { get }
-
The SceneState model
Declaration
Swift
@Environment private var scene: SceneState { get }
-
The state values of the
Movie
Declaration
Swift
@State private var movie: Video.Details.Movie { get nonmutating set }
-
Init the
View
Declaration
Swift
init(movie: Video.Details.Movie)
-
The body of the
View
Declaration
Swift
var body: some View { get }
-
Update a Movie
Declaration
Swift
func update(movie: Video.Details.Movie) -> Video.Details.Movie?
Parameters
movie
The current Movie
Return Value
The optional updated Movie
-
The content of the
View
Declaration
Swift
@ViewBuilder var content: some View { get }
-
SwiftUI
View
for the top of movie details -
SwiftUI
View
for additional movie details
-
The cast of the Movie
Declaration
Swift
var cast: String { get }
-
The plot of the Movie
Declaration
Swift
var plot: String { get }
-
The details of the movie
Declaration
Swift
var movieDetails: some View { get }