You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One thing that SKIE does is to translate top level functions to their original name instead of what KMP offers originally. Which creates a risk of a naming conflict but if you know what you're doing, makes the KMP layer more transparent and elegant for Swift devs.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
One thing that SKIE does is to translate top level functions to their original name instead of what KMP offers originally. Which creates a risk of a naming conflict but if you know what you're doing, makes the KMP layer more transparent and elegant for Swift devs.
Same could be done for
object
singletons which are currently handled by theshared
element as inMySingleton.shared.myStaticFunction()
as per https://github.com/kotlin-hands-on/kotlin-swift-interopedia/blob/main/docs/classesandinterfaces/Objects.md.Current:
MySingleton.shared.myStaticFunction()
After this feature is added to SKIE:
MySingleton.myStaticFunction()
Beta Was this translation helpful? Give feedback.
All reactions