Function 関数

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 宣言

BOOL imp_removeBlock(IMP anImp);

Parameters パラメータ

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).

See Also 参照

Using Objective-C Language Features Objective-C言語機能を使う