https://kotlinlang.org logo
#kotlin-native
Title
# kotlin-native
l

Landry Norris

01/11/2022, 5:50 PM
Are there plans for a built-in function to handle Objective-C selectors from K/N? I spent longer than I’d like to admit setting up a class and getting the string exactly right for NSSelectorFromString.
In case anyone else needs to do this, the class needs to be marked with the ExportObjCClass annotation.
3 Views