About this Course
A function is a fundamental building block of a computer program and allows us to write chunks of code that we can reuse as often as we need. In Swift, functions are quite powerful and in this course, we'll start by taking a look at the syntax and how functions work. Once we have the fundamentals underway, we'll look at how we can customize our parameter names, add default values and return multiple values from a function call.
What you'll learn
- Named Parameters
- Default Values
- Multiple Return Values
Pasan spends most of his time learning and the rest trying to figure out how to pass that knowledge on to others. It's a hard job but he loves it all the same. You can find him everywhere as @pasanpr
You need to sign up for Treehouse in order to download course videos.Sign up