Monday, June 23, 2014

Using dispatch_block_t to make the function

- (void)doAnimation:(NSSet *)chains completion:(dispatch_block_t)completion;

=> This work perfect on the way.

You will do the block completion after all the action in the function doAnimation done.
It is amazing.

No comments: