iOS進階_GCD(三.延時執行&一次執行&調度組&主隊列)

延遲執行 - (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event { [self delay]; } -(void)delay{ NSLog(@"come here"); /** 參數: 1.when 時間 從如今開始,通過多少納秒以後,讓queue隊列調度block任務,異步執
相關文章
相關標籤/搜索