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) -> BoolParameters
- anImp:
An Imp that was created using the Imp_implementationwithblock(_:) function.
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).