Repository navigation
Replies: 1 comment 1 reply
|
Nice job @fethica I think we need update Swift Radio Pro as well. Let me know if I can help |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Highlights
addObserver/removeObserver.Migration notes (delegate → observers)
player.delegate = self
player.addObserver(self) // conform to FRadioPlayerObserver
// optionally: player.removeObserver(self)
Observer callbacks to implement
radioPlayer(_:playerStateDidChange:)radioPlayer(_:playbackStateDidChange:)radioPlayer(_:itemDidChange:)radioPlayer(_:metadataDidChange:)radioPlayer(_:artworkDidChange:)radioPlayer(_:durationDidChange:)radioPlayer(_:playTimeDidChange:duration:)This discussion was created from the release Migrate delegate callbacks to an observer pattern.
All reactions