-
-
Save JanC/6d21f272733b04faf034 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSObject *test; | |
NSArray *someArray = @[ @1, @2, @3 ]; // sample array | |
[someArray enumerateObjectsUsingBlock:^(id obj, NSUInteger idx, BOOL *stop) { | |
test = obj; | |
}]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can you tell what is happening in the following code snippet and why?