I'm trying to understand how objective c blocks work.
As far as I understood: block is just a function with no name.
So for example:
^(int a, int b) { return a + b; };
How can I invoke it?
Can I use it multiple times as I would use a function? If I can then how?
To what class will 'self' keyword refer to inside the block?
Any help is highly appreciated.