YoVDO

iOS Development: Threading and Grand Central Dispatch

Offered By: LinkedIn Learning

Tags

Swift Courses Queues Courses Concurrency Courses Asynchronous Programming Courses Deadlocks Courses Multithreading Courses

Course Description

Overview

Get up and running with Grand Central Dispatch. Learn how to put code or tasks on threads to speed up your iOS app and make it more responsive to users.

Syllabus

Introduction
  • iOS development: Grand Central Dispatch
  • What you should know
1. Evolution of GCD
  • Traditional threading
  • What is Grand Central Dispatch?
  • Adding multithreading
  • Challenge: Optimizing the collection view
  • Solution: Optimizing the collection view
2. Working with Queues
  • What are queues?
  • The main queue
  • The global queue
  • Developing a custom queue
  • Challenge: Download images in a collection view
  • Solution: Download images in a collection view
3. Asychronous vs. Synchronous Execution
  • What are async and sync programming?
  • Dispatching asynchronously
  • Dispatching synchronously
  • Challenge: Load images in a collection view
  • Solution: Load images in a collection view
4. Concurrency vs. Parallelism
  • What are deadlocks?
  • Avoiding deadlocks using dispatch_async
  • Challenge: Resolving a deadlock
  • Solution: Resolving a deadlock
Conclusion
  • Digging deeper into GCD's API

Taught by

Grace Njoroge

Related Courses

Conception et mise en œuvre d'algorithmes.
École Polytechnique via Coursera
Algorithmen und Datenstrukturen
Universität Osnabrück via iversity
数据结构与算法 Data Structures and Algorithms
Peking University via Coursera
Data Structures and Algorithm Design Part I | 数据结构与算法设计(上)
Tsinghua University via edX
数据结构基础
Peking University via Coursera