]>
Commit | Line | Data |
---|---|---|
d852b84e | 1 | // Holds the name and artist of a track |
a968bff7 | 2 | class Track { |
d852b84e BB |
3 | |
4 | // The name of the track to search for | |
a968bff7 | 5 | let name: String |
d852b84e BB |
6 | |
7 | // The name of the artist | |
a968bff7 | 8 | let artist: String |
4425e900 BB |
9 | |
10 | init(withName trackName: String, andArtist trackArtist: String) { | |
11 | ||
12 | name = trackName | |
13 | artist = trackArtist | |
14 | } | |
15 | } |