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.
© 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 Maskrey1 and Wallace Wang2
(1)Parker, Colorado, USA
(2)San Diego, California, USA
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.