Hour 6. Controlling Program Flow with Conditionals

What You’ll Learn in This Hour:

Image How to use if statements to control logic

Image How to use switch statements to control logic

Image How to use range and tuple matching for controlling flow

Image How to transfer control of code execution

In programming, you often need to make decisions in code based on the state ...

Get Swift in 24 Hours, Sams Teach Yourself now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.