O'Reilly logo

iOS Programming Cookbook by Hossam Ghareeb

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. Concurrency

In this chapter, we will cover the following topics:

  • Using Dispatch queues
  • Using Operation queues
  • Using Operation subclassing

Introduction

Concurrency is always considered a nightmare for many developers. I partially agree with these developers and think that concurrency is a big headache if you don't understand it well and don't know how to use it. In this chapter, we will try to get your hands dirty working with concurrency. We will understand what's going on and see how simple it is with the APIs that iOS provides, to work with it and harness its capabilities. Concurrency is a two-sided weapon; it can be helpful and harmful at the same time. It helps you to write efficient, fast executing, and responsive apps, but at the same ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required