Professional Swift (iOS/macOS): Advanced Techniques
300 pages
English
PDF
4.5

Professional Swift (iOS/macOS): Advanced Techniques

Professional Swift (iOS/macOS): Advanced Techniques

Author:

Year:

Summary:

This book is not another tutorial on the basics of Swift. It is a practical guide for developers who already write confidently in Swift but want to reach a fundamentally new level — the level of a Senior developer capable of designing complex, scalable, and high-performance applications for the Apple ecosystem.



The author, Andrey Voronov, a senior iOS engineer with 10 years of experience, shares proven techniques that are rarely found in standard tutorials. You will learn how to write code that not only works but does so efficiently, safely, and with minimal resource consumption.



What you will find in the book:



  • Advanced Architecture: deep dive into MVVM, Coordinator, Redux, TCA (The Composable Architecture) — when and which architecture to choose, how to avoid "spaghetti code" and properly organize dependencies.
  • Multithreading Without Headaches: from the basics of Grand Central Dispatch to the nuances of OperationQueue, async/await (Swift Concurrency), actors, and Sendable. Real-world data synchronization cases and avoiding race conditions.
  • Metaprogramming and Reflection: using Mirror, KeyPath, dynamic members (@dynamicMemberLookup), and code generation with Sourcery to reduce boilerplate code.
  • Performance and Optimization: profiling with Instruments, memory management (strong reference cycles, weak/unowned, COW), UI optimization with Core Animation and Metal, working with large data.
  • Modern Frameworks: Combine in action (reactive programming, operators, Scheduler), SwiftUI + UIKit hybrid applications, Swift Package Manager, and modular architecture.
  • Testing and CI/CD: writing effective unit tests, UI tests, integration with Xcode Cloud, Jenkins, or GitHub Actions. TDD and BDD in practice.


Who this book is for:

  • iOS/macOS developers with 2+ years of experience looking to deepen their knowledge.
  • Middle developers preparing for a Senior position interview.
  • Team Leads who want to implement best practices in their team.
  • Developers from other platforms transitioning to Swift (a basic level is required).


After reading, you will be able to design applications from scratch using best practices, write code that is easy to maintain and extend, and most importantly, become the specialist people turn to for advice on complex technical issues.



The book contains over 50 practical examples ready for use in real projects, as well as links to additional resources for self-study.

Recommendations