CreateObjcDelegate | ||||||||||
Type | handler | |||||||||
Dictionary | LCB | |||||||||
Library | LiveCode Builder | |||||||||
Syntax |
| |||||||||
Associations | com.livecode.objc | |||||||||
Summary | Create an Objective-C object with LCB implementations of methods of a protocol. | |||||||||
Parameters |
| |||||||||
Example |
| |||||||||
Values |
| |||||||||
Related | Handler: CreateObjcDelegateWithContext, CreateObjcInformalDelegate, CreateObjcInformalDelegateWithContext | |||||||||
Description | Use the CreateObjcDelegate handler to create instances of Objective-C
delegate classes with LCB implementations of protocol methods. Once
created these can be set in the usual way on an instance of the
appropriate class (by binding to If any context is required to be passed as a parameter to the callback, use CreateObjcDelegateWithContext. Some protocols consist of purely optional methods. In this case the
information about the protocol's methods are not available from the |