Answer Posted / Sweta Singh
Yes, in Swift, a closure is a self-contained block of functionality that can be passed around and used in your code. It encapsulates both the data (i.e., variables) and the functionality (i.e., code) needed to perform a task.
| 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