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
ViewDeclaration
Swift
var body: some View { get } -
SwiftUI
See moreViewfor a cell in the collectionDeclaration
Swift
struct Cell : View
View on GitHub
CollectionView Structure Reference