iOS Concurrency with GCD and Operations

Dec 6 2016 · Video Course (2 hrs, 48 mins) · Intermediate

Learn how to add concurrency to your apps! Keep your app’s UI responsive to give your users a great user experience, and learn how to avoid common concurrency problems, like race condition, priority inversion and deadlock.

5/5 1 Rating · Leave a Rating

Version

  • Swift 3, iOS 10, Xcode 8

Introduction

18:18 Free

Get an in depth look at what’s covered in our video tutorial course iOS Concurrency with GCD & Operations.

1

Terminology

23:30 Free

Learn the basics of concurrency and Grand Central Dispatch — serial and concurrent queues, synchronous and asynchronous dispatch.

2

Learn how to wrap a synchronous function to make it asynchronous, and how to handle simple use cases — a chain of synchronous tasks and a collection of similar independent tasks.

3

Learn how use GCD dispatch groups so that you can respond to the completion of a collection of GCD tasks.

4

Operation

13:45

In this video tutorial, you'll learn about what an Operation is, and how you can create and run Operations.

5

In this video tutorial you'll learn how to use OperationQueue to handle the scheduling and execution of Operations.

6

In this video tutorial, you'll learn how to use an Operation to wrap an asynchronous function such as a network call.

7

Dependencies

10:28

Learn how to use the results from one Operation in another and specify that the second Operation shouldn't be executed until the first has completed.

8

In this iOS concurrency video tutorial, you'll learn how to perform a cancellation of an Operation.

9

Pull together all the concurrency knowledge you've learned so far in this series to improve the scrolling performance of a table view in a realistic app.

10

Learn how to create thread-safe objects to prevent inconsistent state, and how to avoid other concurrency problems.

11

Conclusion

8:54

Review what you've learned in our video course iOS Concurrency with GCD & Operations, and get some hints and tips for handling concurrency in iOS.

12

Contributors

Comments