Cell
struct Cell : View
SwiftUI View for a cell in the collection
-
The item to show
Declaration
Swift
let item: any KodiItem -
The sorting
Declaration
Swift
var sorting: SwiftlyKodiAPI.List.Sort? -
Collection style
Declaration
Swift
let collectionStyle: ScrollCollectionStyle -
The cell details
Declaration
Swift
@State private var cell: KodiCell { get nonmutating set } -
The SceneState model
Declaration
Swift
@Environment private var scene: SceneState { get } -
The body of the
ViewDeclaration
Swift
var body: some View { get } -
The poster of the
ViewDeclaration
Swift
@ViewBuilder var poster: some View { get } -
The fanart of the
ViewDeclaration
Swift
@ViewBuilder var fanart: some View { get } -
The list of the
ViewDeclaration
Swift
@ViewBuilder var list: some View { get } -
The details of the
ViewDeclaration
Swift
@ViewBuilder var details: some View { get }
View on GitHub
Cell Structure Reference