Different ways you can make use of blocks with examples. Hope it helps you get going with blocks :-). View the code on Gist.
Different ways you can make use of blocks with examples. Hope it helps you get going with blocks :-). View the code on Gist.
Consider the case where you have multiple views stored in a mutable array. You keep creating and storing the views in this array itself. When you don’t want to use it you would do, remove all objects from the array. This is helpful up to an extent. I would always recommend you do a for