Swift: Function with default parameter value

In Swift functions, we can specify default  values for parameters. If we provide default values for parameters, we can omit that parameter when calling the function.

Leave a Reply