Typedef Blocks

It is a good practice to typdef blocks before using them in Objective-C. Doing so will not only make our code more readable, but will allow us to tweak the process by which we get the result in one place and make sure the update effects every single outcome where the block was called. Here is how we would typedef a block:

Continue reading “Typedef Blocks”

Typedef Blocks