ArtistsView
struct ArtistsView : View
SwiftUI View for all Artists from Music Videos (shared)
-
The KodiConnector model
Declaration
Swift
@Environment private var kodi: KodiConnector { get } -
The SceneState model
Declaration
Swift
@Environment private var scene: SceneState { get } -
The artists in this view
Declaration
Swift
@State private var artists: [Audio.Details.Artist] { get nonmutating set } -
The collection in this view
Declaration
Swift
@State private var collection: [AnyKodiItem] { get nonmutating set } -
The loading state of the View
Declaration
Swift
@State private var status: ViewStatus { get nonmutating set } -
The sorting
Declaration
Swift
@State private var sorting: List.Sort { get nonmutating set }
-
The body of the
ViewDeclaration
Swift
var body: some View { get }
-
The content of the
ViewDeclaration
Swift
var content: some View { get }
-
Get all artists from the library
Declaration
Swift
private func getItems()
View on GitHub
ArtistsView Structure Reference