Module 5 Lesson 10 - Main thread versus background thread -

I just finished Module 5 Lesson 10 and it ended with the explanation of calling the result dialogue window in the main thread using dispatch queue.async. This confused me a bit because I would have thought that was already occurring in the main thread already.

Can someone tell me how I can better understand the concept/logic of what is running in the main thread and what is running as a background task?

Here is a reasonably good article on main and background threads in Swift.


A search on Google for “Swift main and background thread” will usually yield a variety of results on the subject.
1 Like