Swift: Function Syntax

In Swift function parameters have argument label and parameter name. The argument label is used when calling the function. Parameter name is used in implementing the function. By default, parameters use their parameter name as their argument label.

Leave a Reply