Function

imp_getBlock(_:)

Returns the block associated with an IMP that was created using imp_implementationWithBlock(_:).

Declaration

func imp_getBlock(_ anImp: IMP!) -> Any!

Parameters

anImp

The IMP that calls this block.

Return Value

The block called by anImp.

See Also

Related Symbols

func imp_implementationWithBlock(Any!)

Creates a pointer to a function that calls the specified block when the method is called.