Functions syntax swift – how to write ?

By | July 18, 2016

Functions syntax swift

func is used to declare a function and passing parameters in parentheses. -> is used for the return type.