CONTENTS
PART I: BUILDING APPLICATIONS WITH SWIFT
Working with Constants and Variables
Understanding Swift Data Types
Minimizing Annotation with Type Inference
Clarifying Code with Type Aliasing
Using Compound Assignment Operators
Making Decisions with Control Flow
Grouping Types with Enumerations
Specifying Variadic Parameters
Specifying Constant, Variable, and In-Out Parameters
CHAPTER 2: WRITING A SWIFT PROGRAM
Downloading from Apple's Developer Portal
Experimenting with Playgrounds
A Simple Example in Playground
A More Exciting Playground Example
Creating Connections between the View Controller and the Object
Connecting the Buttons and the Action
Get Professional Swift 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.