Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
4 Cards in this Set
- Front
- Back
What is the difference between serial and concurrent queues? |
Serial: one closure at a time Concurrent: multiple threads servicing the queue |
|
What are the restrictions for the main queue? |
All UI updates must happen on main queue. Time-consuming non-UI activity should happen off the main queue |
|
How do you get a reference to the main queue? |
DispatchQueue.main |
|
How do you get a global or background queue? |
DispatchQueue.global(qos: DispatchQos) |