Skip to content

Instantly share code, notes, and snippets.

Created December 25, 2012 19:05
What would you like to do?
__block int variable = 1;
int anotherVariable = 2;
void (block^)() = ^{
variable++; // actually modifying variable
anotherVariable++; // modifying a copy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment