Who is this for?
This book is designed for readers that have finished Swift Apprentice: Fundamentals or its equivalent and want to learn about more advanced language features.
Core topics include such things as access control, code organization, testing, property wrappers, result builders, concurrency, value semantics, and memory management.
Swift Apprentice: Beyond the Basics is the sequel to Swift Apprentice: Fundamentals and explores additional Swift programming concepts. These topics include such things as access control, code organization, testing, property wrappers, result builders, concurrency, value semantics, and memory management, presenting them using interactive playgrounds that the reader can follow along...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: Beyond the Basics
The section is a list of the expanded areas of Swift programming. It systematically navigates a variety of important topics, from the principles of Access Control, Code Organization, and Testing to custom Operators, Subscripts, and Keypaths. It presents in-depth coverage of Swift’s powerful idioms, like Result Builders and Pattern Matching, and ensures your proficiency in handling real-world errors.
The section further covers advanced concepts such as Encoding & Decoding Types, Memory Management, and takes you through the subtelties of value semantics. It presents a thorough discussion on Property Wrappers, the driving force behind popular frameworks like SwiftUI, and explores Protocol-Oriented Programming, underscoring Swift’s protocol-based design.
Finally, it covers Advanced Protocols, Generics, and Concurrency, giving you a solid understanding of Swift’s language-level concurrency mechanisms. Each topic provides a robust foundation for advanced Swift programming, ensuring your grasp of these concepts is both thorough and practical.