david6p2 / CancelableDispatchAfter

Interview task to be able to cancel a GCD dispatch after task

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CancelableDispatchAfter

The Interview task was:

iOS developers have a "dispatch_after(when, queue, block)" Grand Central Dispatch (GCD) function they can utilize but once it's set up, these calls can not be easily cancelled.

Describe how you might implement a more convenient version of this named "cancellable_dispatch_after"

Build Instructions

Just clone and run.

Build with Objective-C using Xcode 8.3.2

About

Interview task to be able to cancel a GCD dispatch after task


Languages

Language:Objective-C 100.0%