Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Codecademy

Learn Swift: Functions

via Codecademy

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Continue your Swift journey by learning functions — reusable and callable code blocks!
Continue your Swift learning journey! Learn how to create reusable blocks of code using functions. These functions will allow your programs to become more flexible with the use of parameters and arguments. You'll also make use of functions' return values for storage or manipulation.



### Take-Away Skills
By the end of this course, you will be able to:
* Reuse blocks of code by defining and using functions.
* Incorporate parameters and arguments into your functions.
* Return values from a function and store them for later use.

We recommend that you complete [Learn Swift: Arrays, Sets, and Dictionaries](https://www.codecademy.com/learn/learn-swift-arrays-sets-and-dictionaries) before completing this course.

Syllabus

  • Functions: In this module, you will learn how to write and interact with functions in Swift.
    • Lesson: Functions
    • Quiz: Functions
    • Project: Rock, Paper, Scissors
    • Informational: Next Steps

Taught by

Kenny Lin

Reviews

4.6 rating at Codecademy based on 20 ratings

Start your review of Learn Swift: Functions

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.