Swift Recipes pp 199-224 | Cite as

Concurrency

  • T. Michael Rogers

Abstract

User experience is extremely dependent on responsive applications. In order to create a fluid and smooth experience for your users, asynchronous operations are required. Users expect an application to be responsive, even during long-running operations such as network access or processing-intensive operations. This chapter covers recipes about threading and concurrency using Swift. There are three approaches to threading in iOS and OS X: NSThread, Grand Central Dispatch, and NSOperationQueue. This chapter covers the following, including those approaches:

Keywords

Loop Iteration Location Update Main Thread Concurrent Operation Background Mode 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© T. Michael Rogers 2015

Authors and Affiliations

  • T. Michael Rogers
    • 1
  1. 1.CTUSA

Personalised recommendations