python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
calling an async function from within a timer
I have an async function that has to be called every given time from within a timer.
In order to avoid an Xcode error,
func firetimer() {
let newtimer = Timer(timeInterval: 1.0, repea...
NightCoder
Votes: 0
Answers: 1
Bug with Timer and/or RunLoop?
I had tested this extensively in the past before starting the project I'm working on. I copied and pasted the code into my new project, so it should work. All I want it to do is reload the tableView e...
jmsapps
Votes: 0
Answers: 1
Get notified each time RunLoop enters .tracking mode
How can I track and get notified each time the RunLoop's currentMode property changes to .tracking?

Richard Topchii
Votes: 0
Answers: 0
Swift RunLoop: get notified on currentMode change
I'm interested in getting notified when the currentMode property of the RunLoop class changes, more specifically, I'm interested in getting an event when the mode is entering .tracking state.
I've tri...

Richard Topchii
Votes: 0
Answers: 1