icerockdev / moko-kswift

Swift-friendly api generator for Kotlin/Native frameworks
https://moko.icerock.dev
Apache License 2.0
351 stars 21 forks source link

Platform extensions with generic parameters support #28

Closed Alex009 closed 2 years ago

Alex009 commented 2 years ago

for example:

fun <T : Any> NSNotificationCenter.setEventHandler(
    notification: NSNotificationName,
    ref: T,
    lambda: T.() -> Unit
): Closeable 
Alex009 commented 2 years ago

will be available in 0.4.0