SongInfo
struct SongInfo
This struct will contain information about a song in our media library.
-
The title of the song
Declaration
Swift
var songTitle: String
-
The name of the song artist
Declaration
Swift
var artistName: String
-
The title of the album on which the song is found
Declaration
Swift
var albumTitle: String
-
The URL to the song resource in the library
Declaration
Swift
var resourceURI: String!
-
This is a text description of the song
Declaration
Swift
var description: String { get }