Are callbacks closures?
Answer / Shweta Singh
Yes, in Objective-C, a closure can be used as a callback function. A closure is a block of code that can be passed around and used in your app.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is enum constant?
What do you understand by protocol?
What is category in objective c?
What is dealloc?
What is .m file in objective c?
What is the class of a constant string?
Explain the difference between #import and #include in objective-c?
Is objective c superset of c?
What is difference between c and objective c?
What is an extension?
What is atomic property?
How do you check for leaks?