• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/4

Click to flip

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)