Objective-C blocks caveat

I like blocks. I really do. It's been at least two years now I've been using them and I still make syntax mistakes, but I like them. Recently I had a long discussion with my colleagues and friends about the use of self inside blocks. I…

Objective-C blocks under the hood

Recently I was asked to describe the 'under the hood' memory management of variable and objects in blocks. I think that in 2013 almost every iOS dev knows the practical usage and effect of putting the __block keyword before the declaration of a variable, but maybe what'…