Contents

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

Using Objective-C Language Features