ShouldRefineInSwift

@Target(allowedTargets = [AnnotationTarget.PROPERTY, AnnotationTarget.FUNCTION])
expect annotation class ShouldRefineInSwift(source)

Instructs the Kotlin compiler to mark this function or property as swift_private in the generated Objective-C API.

See Apple's documentation of the NS_REFINED_FOR_SWIFT macro for more information on refining Objective-C declarations in Swift.

Since Kotlin

1.2
@Target(allowedTargets = [AnnotationTarget.PROPERTY, AnnotationTarget.FUNCTION])
@ExperimentalObjCRefinement
actual annotation class ShouldRefineInSwift(source)

Instructs the Kotlin compiler to mark this function or property as swift_private in the generated Objective-C API.

See Apple's documentation of the NS_REFINED_FOR_SWIFT macro for more information on refining Objective-C declarations in Swift.

Since Kotlin

1.3