Version 3.2
New in this release
Add a few methods to take advantage of MusicLibrarySectionedRequest
. Example:
do {
let songsForArtists = try await MLibrary.songsForArtists()
for songsForArtist in songsForArtists {
print("Artist: \(songsForArtist.name)")
for song in songsForArtist.songs {
print("Song: \(song.title)")
}
}
} catch {
print("Error fetching songs for artists: \(error)")
}
Enjoy! 🤗