Creating functions in Swift
In this post, I’ll show you how to create simple functions in Swift along with a little more complex functions that take parameters and can return a value.
An easy way to get some practice would be to open Playground and follow along.