This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
/* | |
105 Developers | |
Problemas que podem ocorrer com a programação concorrente. | |
*/ | |
/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
import PlaygroundSupport | |
/* | |
DispatchGroups: Monitora um grupo de tasks como uma unidade. Com isso ele consegue executar uma ação (sync ou async) após o término de todas as tasks. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
// GCD 101 \o/ | |
/* | |
GCD ou Grand Central Dispatch | |
API low-level que é utilizada para gerenciar a pool de threads | |
Utiliza de filas para a execução |