Tag: functions
-
Lightning tour of closures in Swift
Check out this video tutorial with a lightning tour of closures in Swift. It covers: Functions as data types Basic closure syntax Trailing closures If you’re interested in more of these sorts…
-
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…
-
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…


