Contents

imp_removeBlock(_:)

Disassociates a block from an IMP that was created using Imp_implementationwithblock(_:), and releases the copy of the block that was created.

Declaration

func imp_removeBlock(_ anImp: IMP) -> Bool

Parameters

Return Value

YES if the block was released successfully; otherwise, NO (for example, the function returns NO if the block was not used to create anImp previously).

See Also

Using Objective-C Language Features