Swift 3: Closures - Part 2

Опубликовано: 22 Июль 2026
на канале: Shani Codes
2,193
48

** UPDATED VERSION OF CLOSURES PART 2. **
This video tutorial is 2 of 4 where I share what I learned about Swift Closures! This video will dive into what a closure is, with walkthrough examples, and how to work with them all in Xcode's Playground. This includes code updates for Swift 3.

If you want to jump ahead, here's where I review:

Shorthand parameter names: 1:45
Capturing values: 14:27
Closures as reference types: 36:50

If you want more information, please check out and download the free book "The Swift Programming Language", found here: https://swift.org/documentation/
I use this book as my go-to source and you probably should too! :)

You can get Xcode here:
https://developer.apple.com/xcode/

You can get my notes and/ or playgrounds here: https://github.com/shanirivers/Swift-...

I can be found on Twitter as well - @shani_rivers
and I also blog occasionally: shanirivers.me