Contents

artistName

The artist’s name.

Declaration

var artistName: String { get }

Discussion

You can find more precise information about this album’s artists in the artists relationship, which, unlike artistName, requires that you load it explicitly using the with(_:) method, as in the following example:

    let detailedAlbum = try await album.with([.artists])
    let firstArtist = album.artists?.first