W3cubDocs

/Kotlin

ObjCAction

Platform and version requirements: Native (1.3)
@Target([AnnotationTarget.FUNCTION]) annotation class ObjCAction

Makes Kotlin method in Objective-C class accessible through Objective-C dispatch to be used as action sent by control in UIKit or AppKit.

Constructors

Platform and version requirements: Native (1.3)

<init>

Makes Kotlin method in Objective-C class accessible through Objective-C dispatch to be used as action sent by control in UIKit or AppKit.

ObjCAction()

© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlinx.cinterop/-obj-c-action/index.html