-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NSTimer.new -> NSTimer.init #19
Labels
Comments
Hm, #22 made this hard :( I can't use initializer syntax if using |
Nope, still doesn't work. Not sure why — I'd swear I've seen this work... If someone wants to help, check out this branch: https://github.com/radex/SwiftyTimer/tree/init |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 — it's possible it was only iOS 9/El Capitan, and it still won't work on iOS 8 etc.
If someone could verify this, we could add initializers that are appropriately marked as
@available
.PR-s appreciated.
The text was updated successfully, but these errors were encountered: