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

Codecademy

Learn Swift: Closures

via Codecademy

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Define and call higher-order functions using closures.
Continue your Swift learning journey with Learn Swift: Closures. Make your code more compact and readable by using closures to define and call higher-order functions.



### Skills you’ll gain
* Define and call higher-order functions using closures.
* Pass closures to functions.
* Use trailing closure syntax and closure syntax sugar.

### Notes on prerequisites
We recommend that you complete [Learn Swift: Optionals](https://www.codecademy.com/learn/learn-swift-optionals) before starting this course.

Syllabus

  • Closures: Learn how to use closures to define and call higher-order functions.
    • Lesson: Closures
    • Quiz: Closures
    • Project: Calculator
    • Informational: Next Steps

Taught by

Sarai Fernandez

Reviews

4 rating at Codecademy based on 6 ratings

Start your review of Learn Swift: Closures

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.