Per altre informazioni scrivi a fabriziocaldarelli@negusweb.it
Dispatch Thread iOS
Da Programmazione Software.
Versione del 29 set 2014 alle 18:36 di Fabrizio Caldarelli (Discussione | contributi) (Creata pagina con "Lanciare codice objc in background, nella coda globale e nella coda main: <source lang="objc"> dispatch_async( dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ...")
Lanciare codice objc in background, nella coda globale e nella coda main:
dispatch_async( dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ // Add code here to do background processing // // dispatch_async( dispatch_get_main_queue(), ^{ // Add code here to update the UI/send notifications based on the // results of the background processing }); });