Skip to content
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

Add the ability to specify RunLoop and RunLoopMode in after and every methods #38

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

madeinqc
Copy link

@madeinqc madeinqc commented Aug 8, 2017

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 to be able to update the UI while scrolling.

It keep the same behaviour as previously and the signature is backward compatible.
I added a new start function because the splat operator is not available in Swift, hence the need to create a new one that takes an array as parameters.

Feedbacks are welcome, I will adjust the PR accordingly.

`every` methods while conserving the initial signature and behavior for
backward compatibility
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant