Artist
struct Artist: View
View videos and albums for one artist
-
The name of the artist
Declaration
Swift
let artist: Audio.Details.Artist -
The KodiConnector model
Declaration
Swift
private var kodi -
The music videos to show
Declaration
Swift
private var musicVideos: [any KodiItem] = [] -
The current
MusicVideosRouterDeclaration
Swift
var router: Router -
Define the grid layout
Declaration
Swift
private let grid = [GridItem(.adaptive(minimum: 220))] -
The body of the
ViewDeclaration
Swift
var body: some View -
Get all items from the library
Declaration
Swift
private func getItems()
View on GitHub