What is block in swift?
Answer / Vineet Kumar Punia
In Swift, a block is a piece of code that can be passed as an argument to a function or method. It's similar to a function but is defined within curly braces instead of the function keyword.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is atomic swift?
What is static function in swift?
What is dynamic keyword in swift?
What is data type in swift?
What is a tuple in swift?
Explain any three-shift pattern matching techniques?
What is the purpose of swift?
Who invented swift code?
What is final class in swift?
Does swift have a garbage collector?
How can you write multiple line comment?
What are generics? How to make a method or variable generics in swift?