Closed superjohan closed 10 months ago
Great! Will take a look at this tonight!
Great! I'll merge this and prepare a release shortly. I started working on converting the view controller to Swift as well, with all that entails, but I'm not sure it'll make it just yet. Just that the ObjC stuff in the player bothers me now. :)
The player is now written in Swift. This is done in anticipation of CarPlay support, which will require exactly this if we want it to work properly. I also reworked the UI code quite extensively. It is now much simpler and straightforward. There may be some bugs I haven't run into yet, though.
MainViewController
is so small now that it could also be rewritten in Swift, although I'd rather do that in a separate PR. It would makeIFMPlayer
a bit more ergonomic to use, since we could use associated types in enums and all that jazz.Would either @alepar666 or @tijmenb be interested in reviewing/testing this?