how to use inout as return type in swift 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()