Classes
The following classes are available globally.
-
Kron is a NSTimer manager offering 4 modes through a unified api. Kron takes care of the involved implementation of NSTimers while ensuring a proper memory management with no extra effort:
Kron.debounce
: Calls immediatly and reject calls until time out elapsesKron.debounceLast
: Asdebounce
but also performs the last call after time outKron.idle
: Performs the last call after not being called during the timeout intervalKron.watchdog
: Asidle
but allowing to be canceled withwatchDogCancel
Declaration
Swift
public class Kron : NSObject