Skip to content

Commit c01b0fc

Browse files
committed
[[ Bug 20886 ]] Document obj-c dynamic binding
1 parent 6acc827 commit c01b0fc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/guides/LiveCode Builder Language Reference.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -577,9 +577,11 @@ on Android and iOS).
577577

578578
The Obj-C binding string has the following form:
579579

580-
"objc:class.(+|-)method[?thread]"
580+
"objc:[class.](+|-)method[?thread]"
581581

582-
Here *class* specifies the name of the class containing the method to bind to.
582+
Here *class* specifies the name of the class containing the method to
583+
bind to. If the method is an instance method, the class can be omitted,
584+
creating a 'dynamic binding', i.e. just resolving the selector.
583585

584586
Here *method* specifies the method name to bind to in standard Obj-C selector
585587
form, e.g. addTarget:action:forControlEvents:. If the method is a class method

0 commit comments

Comments
 (0)