swift function parameter default value code example
Example: how to set return type swift
func aFunction() -> <RETURN_TYPE> {
return <RETURN_TYPE>
}
//call function like this
aFunction()
func aFunction() -> <RETURN_TYPE> {
return <RETURN_TYPE>
}
//call function like this
aFunction()