Swift Tutorial: Using Switch

Опубликовано: 12 Октябрь 2024
на канале: Swift Goose
543
20

In this Swift tutorial video we'll look at control flow using switch. We'll see how to direct the flow of your Mac program in an example containing Bitcoin and CheeseCoin prices, specifically how to use Switch with Strings, Integers, and Enumerations.

00:00 Intro
00:11 Setting variables
00:30 Switch with strings
03:25 Switch with integers
05:16 Switch with enum
07:30 End

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
   / @uncreatedlightpress4142  
and

Mr. Macintosh
   / @mr.macintosh  
and

The Apple Ninja
   / jessetheappleninja