This might be more of a multiplatform question: ho...
# multiplatform
m
This might be more of a multiplatform question: how do I extend
AVAudioPlayerDelegateProtocol
and not go insane? https://kotlinlang.slack.com/archives/C3SGXARS6/p1619544378255600
✔️ 1
k
in that case, your
object
needs to inherit from
NSObject()
class to provide all those implementation from the protocol:
Copy code
val player = object: NSObject(), AVAudioPlayerDelegateProtocol {}
m
yep, figured that out eventually (in the linked thread), but thanks anyway 🙂
k
great 👍