Functions and Closures in Swift

Master functions and closures in Swift, Apple's programming language for iOS and Mac OS. Learn through practical examples to write eloquent code.

  • Overview
  • Curriculum
  • Instructor
  • Review

Brief Summary

This course dives into functions and closures in Swift, Apple’s programming gem. You’ll learn fun stuff like higher order functions and how to write cleaner code—all while keeping it super simple and straightforward.

Key Points

  • Functions and closures are key in Swift.
  • Learn about value capturing and higher order functions.
  • Get comfy with closure inline expressions.
  • Understanding functions and closures is crucial for Swift programming.
  • Develop clearer and more elegant code.

Learning Outcomes

  • Understand and utilize functions and closures effectively.
  • Write more concise and readable Swift code.
  • Navigate higher order functions with ease.
  • Capture values with closures confidently.
  • Develop a solid foundation in Swift's functional features.

About This Course

Learn how to use functions and closures in Swift, Apple's new programming language for building iOS and Mac OSX apps.

Note: this course was published many years ago. Please consult with the documentations for the latest details.

This course focuses on the functional features of the Swift programming language. Concepts like closures, value capturing, higher order functions and closure inline expressions, among many more are covered through simple examples.

This course is relatively short but focused to give you a better understanding of functions and closures in Swift since they are as important as objects and classes.

  • Become familiar with functional features in Swift

  • Write more declarative and eloquent code

  • Become very comfortable with functions and closures in Swift

Instructor

Profile photo of AJ Meyghani
AJ Meyghani

​ My name is AJ and I'm a Software Engineer. I have worked on a variety of projects ranging from implementing user interfaces, to making productivity tools for engineers and designers. I am also very passionate about education and enjoy sharing what I learn with the world.I am also the co-author of the Less Web Development Cookbook published by Packt...

Review
4.9 course rating
4K ratings
ui-avatar of Muhammad Rizqi Imani
Muhammad R. I.
4.0
3 years ago

Well, I watched this in 2021. So most of them are outdated by now. But I want to see their explanation on Closure and its variants cause I seem to have problems in understanding Closure. I hope this will give me insight.

  • Helpful
  • Not helpful
ui-avatar of Wira Setiawan
Wira S.
2.0
4 years ago

Too basic

  • Helpful
  • Not helpful
ui-avatar of G S Karthikeya Ganesh Prasad
G S. K. G. P.
3.5
5 years ago

This is good one. I have seen many sources. But is perfect one for basics.

  • Helpful
  • Not helpful
ui-avatar of Md. Nomanur Rashid
Md. N. R.
3.5
5 years ago

The course is simple and clean. But it is on backdated code. Please update it.

  • Helpful
  • Not helpful
ui-avatar of Omar Alejandro Robles Altamirano
Omar A. R. A.
5.0
5 years ago

Good

  • Helpful
  • Not helpful
ui-avatar of Vishwanath Deshmukh
Vishwanath D.
5.0
5 years ago

Thanks a lot. Very easily explained closures and functions.

  • Helpful
  • Not helpful
ui-avatar of Larry Burris
Larry B.
5.0
6 years ago

All the concepts were explained clearly and concisely. Very nicely done!

  • Helpful
  • Not helpful
ui-avatar of Massimiliano Bonafede
Massimiliano B.
5.0
6 years ago

Easy follow this course

Non

  • Helpful
  • Not helpful
ui-avatar of Ashwinkumar Mangrulkar
Ashwinkumar M.
4.0
6 years ago

very well explained

  • Helpful
  • Not helpful
ui-avatar of Nicolas Dupere
Nicolas D.
3.0
6 years ago

Some videos are updated.

  • Helpful
  • Not helpful
Leave A Reply

Your email address will not be published. Required fields are marked *

Ratings

Courses You May Like

Lorem ipsum dolor sit amet elit
Show More Courses