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 View

    Declaration

    Swift

    var body: some View { get }
  • The poster of the View

    Declaration

    Swift

    @ViewBuilder
    var poster: some View { get }
  • The fanart of the View

    Declaration

    Swift

    @ViewBuilder
    var fanart: some View { get }
  • The list of the View

    Declaration

    Swift

    @ViewBuilder
    var list: some View { get }
  • The details of the View

    Declaration

    Swift

    @ViewBuilder
    var details: some View { get }