block syntax?
tell please!!!!
Answers
Answered by
1
Answer:
The syntax to define a block literal uses the caret symbol ( ^ ), like this: ^{ NSLog(@"This is a block"); } As with function and method definitions, the braces indicate the start and end of the block.
have a great day ahead
Similar questions