Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

how to set return type swift

func aFunction() -> <RETURN_TYPE> {
	return <RETURN_TYPE>
}

//call function like this
aFunction()
 
PREVIOUS NEXT
Tagged: #set #return #type #swift
ADD COMMENT
Topic
Name
3+1 =