How do you get closure?
Answer / Renu Paras
In Objective-C, 'closure' is not a term commonly used. However, it refers to a self-contained block of functionality that can be passed around and used in your code. In Swift, closures are first-class citizens and can capture and store references to any constant and variable from the context in which they are defined.
| Is This Answer Correct ? | 0 Yes | 0 No |
Does copy increase retain count?
What is class extension?
What objective-c program consists of?
Is nsobject a parent class or a derived class?
What is the difference between category and extension in objective c?
Is c and objective c the same?
What happen if we send any message to an object which is released?
What are some of the major differences between objective c and swift?
When should you call dealloc method?
What is an extension?
What is autoclosure?
Can we have multiple uiwindows in ios?