Advanced Swift

Swift encapsulates many different programming philosophies, it supports a number of different programming paradigms, and includes many of the most proven and successful developments in programming languages from the last decade or so.

Some of the borders have moved over time too: enumerations (or enums) and protocols have become so much more powerful that they can often replace the class-based hierarchies that have ruled the object-orientated roost for so long; control flow statements have become incredibly flexible; custom operators are easy to create; and perhaps most importantly of all, functions have become first class entities (we'll see what that means in a while).

In this chapter, you will learn about the following: ...

Get Mastering macOS Programming 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.