Swift Tutorial: functions (basics, what is Void, storing funcs in vars, funcs that return funcs)

Опубликовано: 04 Март 2026
на канале: Swift Goose
731
23

In this Swift tutorial video we'll look at functions, including basic creation/declaration with and without parameters and return types, what Void is in Swift, storing functions in variables, and functions that return other functions.

00:00 Intro
00:14 1. Basic functions
02:24 2. What is Void?
04:07 3. Storing functions in variables
05:54 4. Functions that return functions
09:02 End

Hit the like button, comment, subscribe, and hit the dinner bell to be notified of my next video!

Subscribe for more content, as I will be creating more tutorial and how-to videos for coding in Swift, as well as longer tutorials on building macOS apps.

If you'd like to support my work to help me improve video quality and bring more content, please consider donating to my PayPal:
https://www.paypal.com/paypalme/Swift...

Thank you for watching!

Huge thank you to the channels below for helping me get started!
Uncreated Light Press
   / @uncreatedlightpress  
and

Mr. Macintosh
   / @mr.macintosh  
and

The Apple Ninja
   / jessetheappleninja