Also available in other formats.
Register your product to gain access to bonus material or receive a coupon.
Lesson 4, “Threads,” emphasizes the importance of understanding threads. Viewers are introduced to Grand Central Dispatch, the core of the Objective-C threading model. The lesson covers how to use the low-level Grand Central Dispatch interface (C API) to submit jobs to the dispatch queue system. Viewers learn how to use the Objective-C interface to the Grand Central Dispatch system, NSOperation and NSOperationQueue.. Viewers then learn how to write thread safe code to ensure two threads can’t conflict while running. . Finally, the lesson goes into more depth on an aspect of properties related to threading, atomic accessors.