Chapter 2

Basics of the Swift Programming Language

IN THIS CHAPTER

check Understanding the basic syntax of Swift

check Looking at basic data types

check Working with arrays

check Finding what you need in dictionaries

check Using optional types

check Focusing on functions

check Controlling the flow

check Going round and round with looping

check Getting solid with structures

check Going to the head of your class

check Getting closure

Following protocol ...

Get SwiftUI For Dummies 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.