craiggrummitt.com
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 anothe…