diff options
Diffstat (limited to 'Sources/track.swift')
| -rw-r--r-- | Sources/track.swift | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Sources/track.swift b/Sources/track.swift new file mode 100644 index 0000000..d2a9047 --- /dev/null +++ b/Sources/track.swift @@ -0,0 +1,11 @@ +/// Contains the artist and name of a track +class Track { + let name: String + let artist: String + + init(withName trackName: String, andArtist trackArtist: String) { + + name = trackName + artist = trackArtist + } +} |