Example # 1
@property (nonatomic, copy) void (^errorBlock) (NSError *);
Example # 2
@property (nonatomic, strong) void (^errorBlock) (NSError *);
I know that blocks are standard variables on the stack, and by creating a copy, we "move" them to the heap.
It's all? Or not?
properties automatic-ref-counting objective-c-blocks
AndrewShmig May 7 '13 at 18:48 2013-05-07 18:48
source share