Manually creating Vinyl
RuiAAPeres opened this issue · 2 comments
RuiAAPeres commented
It should be possible to create a Vinyl
, besides passing a path to one. This gives a great deal of flexibility in the API.
let songs: [Song] = ...
let vinyl = Vinyl(songs: songs)
let turntable = Turntable(vinyl: vinyl)
SandroMachado commented
+1
dmcrodrigues commented
I agree, this flexibility can be extremely helpful.
And I think this could be flexible in a way where you can test network failures like receiving an error with a specific NSURLErrorDomain
, e.g. NSURLErrorTimedOut
.