Written by Paul Hudson @twostraws
Description: Learn how to run complex tasks in the background with GCD.
I put together answers for 600 of the most frequently asked questions I received from readers into one place: the Swift 4 Knowledge Base. It answers basic and advanced questions, and provides lots of free code you can re-use however you please. If you hit problems, try searching there first.
If you're still having problems, you can post to the Hacking with Swift subreddit where you can expect an answer fairly quickly, or you can find me on Twitter where I'll do my best to help.
The project files for Hacking with Swift are all available on GitHub, where you can view them, fork them, or download them: click here for the GitHub repo.
Sponsored You’re already busy updating your app for Swift 4.2 and iOS 12, so why not let Instabug help you find and fix bugs? Add just two lines of code to your project and receive comprehensive reports with all the feedback you need to ship a world-class app – click here to learn more!