RefinesInSwift
Meta-annotation that instructs the Kotlin compiler to mark the annotated function or property as swift_private
in the generated Objective-C API.
Annotation processors that refine the public API in Swift can annotate their annotations with this meta-annotation to automatically hide the annotated declarations from Swift.
See Apple's documentation of the NS_REFINED_FOR_SWIFT
macro for more information on refining Objective-C declarations in Swift.
Note: only annotations with AnnotationTarget.FUNCTION and/or AnnotationTarget.PROPERTY are supported.
Since Kotlin
1.8Meta-annotation that instructs the Kotlin compiler to mark the annotated function or property as swift_private
in the generated Objective-C API.
Annotation processors that refine the public API in Swift can annotate their annotations with this meta-annotation to automatically hide the annotated declarations from Swift.
See Apple's documentation of the NS_REFINED_FOR_SWIFT
macro for more information on refining Objective-C declarations in Swift.
Note: only annotations with AnnotationTarget.FUNCTION and/or AnnotationTarget.PROPERTY are supported.