Anton Afanasev
07/15/2022, 3:30 PMvar onStateChanged: ((from: State, to: State) -> Unit)?
translated to:
@property void (^ _Nullable onStateChanged)(State *, State *) __attribute__((swift_name("onStateChanged")));
which makes this function signature problematic to read on iOS.
Are there any way to pass/enforce argument name on k\n?
PS. I mean that argument names from
and to
are ignored during kotlin to swift translation.