Blog Archives

Overloading functions with default parameter values

Here’s a Swifty conundrum for you! First a quick recap. Here’s a simple function with no parameters. Call it and “Hello World” will print to the console. Here’s another function with the same name. This time it has a parameter

Tagged with: , ,
Posted in Swift

Lightning tour of functions in Swift

Check out this video tutorial with a¬†lightning tour of functions in Swift. It covers: Parameter default values Optional function parameters Overloading a function If you’re interested in more of these sorts of videos, I’ll be posting frequently over on the

Tagged with: , , , ,
Posted in Swift