© Molly Maskrey and Wallace Wang 2018

Molly Maskrey and Wallace Wang, Pro iPhone Development with Swift 4, https://doi.org/10.1007/978-1-4842-3381-8_1

1. Multithreaded Programming Using Grand Central Dispatch

Molly Maskrey and Wallace Wang2

(1)Parker, Colorado, USA

(2)San Diego, California, USA

While the idea of programming multithreaded functions in any environment may seem daunting at first (see Figure 1-1), Apple came up with a new approach that makes multithreaded programming much easier. Grand Central Dispatch comprises language features, runtime libraries, and system enhancements that provide systemic, comprehensive improvements to the support for concurrent code execution on multicore hardware in iOS and macOS.

Figure 1-1 Programming multithreaded ...

Get Pro iPhone Development with Swift 4: Design and Manage Top Quality Apps now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.