SwiftKotlin
SwiftKotlin copied to clipboard
Remove unecessary {} on method definitions
When body is empty, Kotlin allows to remove the {}
Example:
class A {
init() {}
func test() {}
}
Translates to:
class A {
constructor() {}
fun test() {}
}
But could be:
class A {
constructor()
fun test()
}