ObjCName
@Target(allowedTargets = [AnnotationTarget.CLASS, AnnotationTarget.PROPERTY, AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.FUNCTION] )
Instructs the Kotlin compiler to use a custom Objective-C and/or Swift name for this class, property, parameter or function.
Since Kotlin
1.0Parameters
exact
specifies if the name of a class should be interpreted as the exact name. E.g. the compiler won't add a top level prefix or the outer class names to exact names.
@Target(allowedTargets = [AnnotationTarget.CLASS, AnnotationTarget.PROPERTY, AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.FUNCTION] )
Instructs the Kotlin compiler to use a custom Objective-C and/or Swift name for this class, property, parameter or function.
Since Kotlin
1.3Parameters
exact
specifies if the name of a class should be interpreted as the exact name. E.g. the compiler won't add a top level prefix or the outer class names to exact names.