Author: Scott Grosch
Pub Date: 2019
Size: 202 Mb
The book that teaches you everything there is to know about how to write performant and concurrent code for your iOS apps.
Dive Into Concurrency in Your iOS Apps!
Learn what is Concurrency and why would you even want to utilize it in your apps? Learn about Grand Central Dispatch, Apple’s implementation of C’s libdispatch, also known as GCD, as it’s one of the simplest ways to queue up tasks to be run in parallel. Then, take on Operations & Operation Queues for when GCD doesn’t quite cut it; you’ll learn how to further customize and reuse your concurrent work. You’ll then learn common concurrency problems that you could face while developing concurrent applications, such as Race Conditions, Deadlocks, and more. Finally, understand threads and thread sanitizer and the various threading-related concepts and how these connect to the knowledge you’ve accumulated throughout this book. You’ll also learn how to use Thread Sanitizer to ease your debugging when things go wrong.