Details
struct Details : View
SwiftUI View
for details of an Episode
-
The
Episode
to showDeclaration
Swift
let selectedEpisode: Video.Details.Episode
-
The SceneState model
Declaration
Swift
@Environment private var scene: SceneState { get }
-
The KodiConnector model
Declaration
Swift
@Environment private var kodi: KodiConnector { get }
-
The state values of the
Episode
Declaration
Swift
@State private var episode: Video.Details.Episode { get nonmutating set }
-
Init the
View
Declaration
Swift
init(episode: Video.Details.Episode)
-
The body of the
View
Declaration
Swift
var body: some View { get }
-
The content of the
View
Declaration
Swift
var content: some View { get }
-
Update an Episode
Declaration
Swift
func update(episode: Video.Details.Episode) -> Video.Details.Episode?
Parameters
episode
The current Episode
Return Value
The updated Episode