Daily iOS
iOS system design

Live price screen

Design a portfolio and watchlist screen where hundreds of symbols change price dozens of times a second. Focus on how you control the UI refresh rate.

How would an interviewer hear this answer? You'll see whether they'd move on, dig in, or say no, and which sentences would trip you up. Your score doesn't change.
See the short answer

WebSocket messages are coalesced into latest values in an actor and pushed to the UI once every 100 to 250ms. Cells update partially with reconfigure, the subscription drops when the app goes to the background, and on return you sync with a REST snapshot before resubscribing.

Share a question