SwiftyTimer
SwiftyTimer copied to clipboard
Swifty API for NSTimer
Code works on its own, just config stuff
#### Swift Package Manager - iOS: Open Xcode, File->Swift Packages, search input **https://github.com/radex/SwiftyTimer.git**, and then select Version Up to Next Major **2.1.1** < . - Or add dependencies in your...
Please make it support for Swift 5
The following code worked with 1.3.0 but crashes with 1.4.0: ``` Swift let timer = NSTimer.every(1) { print("do something!") } timer.fire() ``` The internal refactoring of not using NSTimer initializers...
This was required in my project to be able to use `after` and `every` methods for timers that need to update the UI. The timer needs to run in .commonModes...
Hello! I want to make a function that starts the timer unless there is a bool true in params (e.g. animateStatusIcon(stop: true)) - in that case I want to stop...
Non-scheduling initializers are currently defined as static methods because there was a bug in Foundation causing a crash. I believe it was fixed, but I don't remember when exactly —...
Extending `Int` and `Double` with properties `second`, `seconds`, `minute`, etc. seems like a rather bad idea. There's two problems with this: 1. Anyone using your code in a project with...