Swift: Functions with multiple parameters

Swift functions can be defined with multiple parameters. Each parameter name must be written along with its type separated by comma enclosed within parentheses.

 

Leave a Reply