Concurrency by Tutorials: Multithreading in Swift with GCD and Operations

Concurrency by Tutorials: Multithreading in Swift with GCD and Operations

English | 2019 | ISBN: 978-1942878780 | 123 Pages | PDF, EPUB, CODE | 200 MB

Concurrency by Tutorials (First Edition): Multithreading in Swift with GCD and Operations
Dive into Concurrency in iOS apps!
Concurrency is the concept of multiple things, or pieces of work, running at the same time. With the addition of CPU cores in our devices, knowing how to properly utilize your customer’s hardware to the maximum is absolutely a must. However, proper concurrency in iOS apps is one of the lesser-known topics that every developer wants to (and should) understand properly, but is usually intimidated by. This is where Concurrency by Tutorials comes to the rescue! In this book, you’ll learn everything there is to know about how to write performant and concurrent code for your iOS apps.
Who This book Is For
This book is for intermediate iOS developers who already know the basics of iOS and Swift development but want to learn how to make their app efficiently perform tasks without affecting performance, and how to properly divide work to utilize hardware to the fullest extent.

  • What & Why: Learn what is Concurrency and why would you even want to utilize it in your apps?
  • Grand Central Dispatch: Learn about Apple’s implementation of C’s libdispatch, also known as GCD, it’s one of the simplest ways to queue up tasks to be run in parallel.
  • Operations & Operation Queues: When GCD doesn’t quite cut it, you’ll learn how to further customize and reuse your concurrent work using Operations and Operation Queues.
  • Common Concurrency Problems: Learn about some of the problems you could face while developing concurrent applications, such as Race Conditions, Deadlocks, and more.
  • Threads & Thread Sanitizer: Understand 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.

This book is sure to make you a pro in building concurrent and performant appllications, and finally understanding how these lower-level APIs work to the fullest, pushing your app to the top!

Homepage