Run loop modes
While the user scrolls, an on-screen countdown Timer stops, and when scrolling ends it catches up all at once. From the run loop's point of view, what's the cause?
Run loop modes
While the user scrolls, an on-screen countdown Timer stops, and when scrolling ends it catches up all at once. From the run loop's point of view, what's the cause?
ConcurrencyShort answerIntro
In a UIKit screen you set label.text = result inside a network response callback, and som…
#runloop #main-thread
Performance and debuggingShort answerAdvanced
You want to add a feature to your in-house APM that captures a stack whenever the main th…
#runloop #main-thread
UIKitShort answerAdvanced
Each cell in a UITableView flash sale list shows a countdown like "Time left 00:12:34" th…
#runloop #timer
CS fundamentals and algorithmsShort answerBasics
What's the difference between a process and a thread? What do threads share, and what doe…
#main-thread