Class

ObjCBlock


Description

Used when callings declares that require Obj-C blocks. An ObjCBlock is created from a Delegate and in turn creates an Objective-C block that will call into the delegate. This Objective-C block is retrieved from the Handle property and passed into declares.

Properties

Name

Type

Read-Only

Shared

Handle

Ptr

Methods

Name

Parameters

Returns

Shared

Constructor

theDelegate As Object

Property descriptions


ObjCBlock.Handle

Handle As Ptr

Gets the Objective-C block.

This property is read-only.

Method descriptions


ObjCBlock.Constructor

Constructor(theDelegate As Object)

Note

Constructors are special methods called when you create an object with the New keyword and pass in the parameters above.

Used to supply the delegate to create for the block.

Compatibility

All project types on all supported operating systems.

See also

Object parent class; Declare command, Ptr data type