Hacking with Swift Project 9 - Grand Central Dispatch Buy on Amazon

https://www.ebooknetworking.net/books_detail-B00S0GDXOQ.html

Hacking with Swift Project 9 - Grand Central Dispatch

Book Details

Author(s)Paul Hudson
ISBN / ASINB00S0GDXOQ
ISBN-13978B00S0GDXO2
Sales Rank1,781,073
MarketplaceUnited States  🇺🇸

Description

Learn how to run complex tasks in the background with GCD.

In this technique project we're going to return to project 7 to solve a critical problem using one of the most important Apple frameworks available: Grand Central Dispatch, or GCD. I already mentioned the problem to you, but here's a recap from project 7:

By downloading data from the internet in viewDidLoad() our app will lock up until all the data has been transferred. There are solutions to this, but to avoid complexity they won't be covered until project 9.

We're going to solve this problem by using GCD, which will allow us to fetch the data without locking up the user interface. But be warned: even though GCD might seem easy at first, it opens up a new raft of problems, so be careful!

More Books by Paul Hudson

Donate to EbookNetworking
Prev
Next