Answer Posted / Vikrant Upadhyay
Blocks in Objective-C are anonymous functions that can be defined inline and passed around like any other object. They consist of a sequence of statements enclosed within curly braces `{}`. Blocks are commonly used for: 1. Event handling (e.g., tap gestures, button clicks). 2. Asynchronous processing with GCD (Grand Central Dispatch). 3. Customizing UI animations.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category