What is the point of closures?
Answer / Rupa Bhatnagar
In Objective-C, closures are blocks of code that can be passed around and used in your app. They allow you to write reusable, modular functions, simplify asynchronous programming (like network requests), and encapsulate functionality.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain the difference between #import and #include in objective-c?
What is protocol in simple words?
What is synchronized() block in objective c?
Can you retain delegates?
What is a class in objective c?
How to restart app in objective c?
Mention whether nsobject is a parent class or derived class.
When should you call dealloc method?
What does it mean to be objective?
What are the different types of identifiers?
What is .m file in xcode?
What is id?