Implement Swift Protocol In Kotlin

[Solved] Implement Swift Protocol In Kotlin | Swift - Code Explorer | yomemimo.com
Question : implement swift protocol in kotlin

Answered by : landry-norris

As of now, K/N requires many extra methods when implementing an
Objective-C or Swift protocol. Subclassing NSObject removes this
requirement
class Foo: BarProtocol	// Override BarProtocol methods and all NSObject methods
class Foo: NSObject(), BarProtocol	//Only need to override BarProtocol's methods

Source : | Last Update : Tue, 10 Aug 21

Answers related to implement swift protocol in kotlin

Code Explorer Popular Question For Swift