adspace


What is $0 and $1 in swift?

Answer Posted / Vishal Upadhyay

"$0 and $1 are placeholders used in Swift to reference the first and second arguments, respectively, passed to a closure that conforms to the `FunctionBuilder` protocol."

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain some biggest changes in usernotifications.

925


How can you define a base class in swift?

927


Explain the common execution states for a swift ios app (ios application lifecycle).

897