Hour 5. Controlling Program Flow with Conditionals
What You’ll Learn in This Hour:
How to use if
statements to control logic
How to use switch
statements to control logic
How to use pattern matching for controlling flow
How to transfer control of code execution
In programming, you often need to make decisions in code based on the state of a value, ...
Get Swift in 24 Hours, Sams Teach Yourself, Second Edition 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.