Pertanyaan yang diberi tag dispatch-async

233
Memahami dispatch_async

Saya memiliki pertanyaan seputar kode ini dispatch_async(dispatch_get_global_queue( DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ NSData* data = [NSData dataWithContentsOfURL: kLatestKivaLoansURL]; [self performSelectorOnMainThread:@selector(fetchedData:) withObject:data