CollectionView

struct CollectionView : View

SwiftUI View for a collection of kodi items

  • The collection

    Declaration

    Swift

    @Binding
    var collection: [AnyKodiItem] { get nonmutating set }
  • The sorting

    Declaration

    Swift

    @Binding
    var sorting: SwiftlyKodiAPI.List.Sort { get nonmutating set }
  • The collection style

    Declaration

    Swift

    let collectionStyle: ScrollCollectionStyle
  • Bool to show the index

    Declaration

    Swift

    var showIndex: Bool
  • The items for the collection

    Declaration

    Swift

    @State
    private var items: ScrollCollection<AnyKodiItem> { get nonmutating set }
  • The body of the View

    Declaration

    Swift

    var body: some View { get }
  • SwiftUI View for a cell in the collection

    See more

    Declaration

    Swift

    struct Cell : View