Swift (iOS/macOS) Application Performance
300 pages
English
PDF
4.5

Swift (iOS/macOS) Application Performance

Swift (iOS/macOS) Application Performance

Author:

Year:

Summary:

The book "Swift (iOS/macOS) Application Performance" is a practical guide for developers who want to create fast, responsive, and energy-efficient applications. Unlike most textbooks that teach how to write working code, this book teaches how to write code that runs as efficiently as possible.



The author, Alexey Voronov, a senior iOS developer with 10 years of experience, has compiled proven optimization techniques and patterns that are actually used in production projects into one book. You won't find abstract advice here — only concrete examples, benchmarks, and ready-made solutions.



What you will learn from the book:

  • Profiling and Diagnostics — how to find bottlenecks using Instruments, Xcode Profiler, and custom metrics.
  • Memory Optimization — ARC management, avoiding retain cycles, working with value types vs reference types.
  • UI Acceleration — lazy loading, Core Animation optimization, working with CALayer and Metal.
  • Multithreading Without Pain — proper use of GCD, OperationQueue, async/await, and Actor.
  • Network and Data Handling — caching, deserialization, choosing between Core Data, Realm, and SQLite.
  • Energy Efficiency — how to reduce battery consumption without losing performance.


Who this book is for:

  • Junior and Middle level iOS/macOS developers who want to move to the next level.
  • Team Leads and architects looking for a systematic approach to project optimization.
  • Freelancers and product owners who want to improve the user experience.


The book is written in a lively style, with plenty of code examples and practical exercises. All examples are compatible with the latest versions of Swift 5.x and Xcode 15+. After reading, you will be able not only to write fast code but also to convincingly argue why one solution is better than another.



Perfect for self-study — each chapter ends with a checklist for auditing your project. Apply the knowledge immediately, without putting it off!

Recommendations