Inherits from NSObject
Declared in DTObjectBlockExecutor.h

Overview

This class is used by [NSObject addDeallocBlock:] to execute blocks on dealloc

Properties

deallocBlock

Block to execute when dealloc of the receiver is called

@property (nonatomic, copy) void ( ^ ) ( ) deallocBlock

Declared In

DTObjectBlockExecutor.h

Class Methods

blockExecutorWithDeallocBlock:

Convenience method to create a block executor with a deallocation block

+ (id)blockExecutorWithDeallocBlock:(void ( ^ ) ( ))block

Parameters

block

The block to execute when the created receiver is being deallocated

Declared In

DTObjectBlockExecutor.h