Who is this for?
This book is for intermediate Swift developers who already know the basics of Swift and are looking to deepen their knowledge and understanding of the language.
- Protocols & Generics
- Numerics & Ranges
- Sequences & Collections
- Functional Reactive Programming
- Objective-C Interoperability
- Library & API Design
Swift is a rich language with a plethora of features to offer. Reading the official documentation or entry-level books is important, but it’s not enough to grasp the true power of the language.
Expert Swift is here to help, by showing...more
Before You Begin
This section tells you a few things you need to know before you get started, such as what you’ll need for hardware and software, where to find the project files for this book, and more.
Section I: Core Concepts
The first section of this book covers the basic building blocks of the Swift language: The type system (enums, structs and classes), Protocols and Generics. We’ll start with a brief refresher of each topic and then jump right into the behind-the-scenes implementations.
The content of this section will expose the inner workings of the type system, as well as get you intimately familiar with protocols and generics.
Section II: Standard Library
This sections covers the base layer of writing Swift programs: Numerics, Ranges, Strings, Sequences, Collections, Codable and the less obvious, but very important topic - Unsafe.
As you’d expect from an advanced book, we don’t only explain these topics, but also investigate how they’re built, how they’re represented, and how to use them effectively.
Section III: Techniques
The final section of this book covers advanced techniques to super-charge your Swift powers, and use all of what Swift has to offer.
We’ll cover topics like Higher order functions, Functional reactive programming, Objective-C interoperability, using Instrumentation, and API design.