SongInfo

struct SongInfo

This struct will contain information about a song in our media library.

  • The title for the song.

    Declaration

    Swift

    var songTitle: String
  • The name of the artist

    Declaration

    Swift

    var artistName: String
  • The name of any album

    Declaration

    Swift

    var albumTitle: String
  • The URI to the song

    Declaration

    Swift

    var resourceURI: String!
  • This is a calculated property that returns a song description, based upon whatever information is available.

    Declaration

    Swift

    var description: String { get }