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
MusicVideosRouter
Declaration
Swift
var router: Router
-
Define the grid layout
Declaration
Swift
private let grid = [GridItem(.adaptive(minimum: 220))]
-
The body of the
View
Declaration
Swift
var body: some View
-
Get all items from the library
Declaration
Swift
private func getItems()