Repeat
Repeat copied to clipboard
🕦 Modern Timer in Swift, Debouncer and Throttler (alternative to NSTimer) made with GCD
Hello. Thank you for Repeat. In this pull request I reverted all deployment targets to the values before #39. Fixed #41.
It's a great time management library, and we've used it a lot, and I want to know if it's still under maintenance considering some follow-up situations
It's a great time management library, and we've used it a lot, and I want to know if it's still under maintenance considering some follow-up situations
We need to specify the DispatchQueue for the Debouncer's underlying Repeater / Timer. And yes it's possible to customise the DispatchQueue directly in the Debouncer's callback, but the proposed changes...
On iPhone 5 with 32 bits processor it is possible to make int overflow. The underlay seconds: ``` /// Repeat interval public enum Interval { case seconds(_: Double) internal var...
## Description Example code: ```swift let timer = Repeater.every(.minutes(5), count: nil, tolerance: .seconds(1), queue: .global()) { // Some long running operation... } timer.fire() ``` Given the closure contains a relatively...
It happens unexpectedly from time to time on background and on foreground. iOS 12 and iOS 13 on different iPhones versions. ``` 3 Repeat 0x10330c760 $s6Repeat8RepeaterC5reset_7restartyAC8IntervalOSg_SbtF + 196 4 Repeat...
/// Destroy current timer private func destroyTimer() { self.timer?.setEventHandler(handler: nil) self.timer?.cancel() if state == .paused || state == .finished { self.timer?.resume() } } This method when the order is written...
I saw your configuration`s.ios.deployment_target = "12.2"`