Hey guys, I was wondering how I can annotate fun to be static for objective-c, similar like we have @JvmStatic?
s
Sam
10/11/2019, 2:04 PM
Nothing like that currently exists.
m
mkojadinovic
10/11/2019, 2:24 PM
Hm, ok. Thanks. 👍
s
Sam
10/11/2019, 3:39 PM
One thing to note is that while you still have to "construct" companion objects and other objects K/N only ever returns the one single instance. It's an odd quirk of the integration and doesn't look pretty from the Swift/ObjC side but it works.
m
mkojadinovic
10/14/2019, 6:42 AM
Yup. I have seen that. It just about trying to please iOS part of team. Also, tried with global functions, that looks better but than it adds Kt at the end of the file name 😞