Are callbacks closures?



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

Post New Answer

More Objective-C Interview Questions

Is objective-c a dynamic language?

1 Answers  


Can you differentiate polymorphism from abstraction?

1 Answers  


How do I create an objective c class in xcode?

1 Answers  


How to reverse array in objective c?

1 Answers  


What is toll-free bridging?

1 Answers  


What is the class of a constant string?

1 Answers  


Is objective c statically typed?

1 Answers  


Who calls dealloc method? Can we implement dealloc in arc? If yes, what is the need to do that?

1 Answers  


Is objective c object oriented?

1 Answers  


How messaging works in objective-c?

1 Answers  


What is a hash string?

1 Answers  


What is difference between method and constructor?

1 Answers  


Categories