From the course: Swift 6 Essential Training

Unlock this course with a free trial

Join today to access over 24,700 courses taught by industry experts.

Leveling the playing field

Leveling the playing field - Swift Tutorial

From the course: Swift 6 Essential Training

Leveling the playing field

- Our Swift adventure so far has gone from variables and types to collections and decision logic, but the functions we've been using are still a hundred percent defined by Swift. In order to start creating our own executable chunks of logic, we need to learn how to declare functions. Adding parameters, return types, and closures to that mix opens up a whole new level of programming possibilities, a level that includes declaring our own custom types. So let the quest begin.

Contents