DevPrep

All topics

📶 Networking & APIs: iOS interview questions

  1. Data transfer protocols Junior PRO
  2. HEAD, GET, POST, PUT Junior PRO
  3. REST Junior PRO
  4. Parsing, token, regular expressions Middle PRO
  5. Socket Middle PRO
  6. How does HTTP differ from HTTPS? Junior PRO
  7. Sockets, TCP and UDP — when to use which? Middle PRO
  8. How do you make a synchronous wrapper around an async method? Middle PRO
  9. URLSession configuration types Middle PRO
  10. Kinds of URLSessionTask Middle PRO
  11. How do you cancel a request in URLSession? Middle PRO
  12. What is WebSocket? URLSessionWebSocketTask Middle PRO
  13. How do you design a networking layer on URLSession: endpoint, client, errors? Middle PRO
  14. HTTP caching: Cache-Control, ETag and URLCache Middle PRO
  15. Timeouts, retries and exponential backoff: how not to take the server down? Senior PRO
  16. Access and refresh tokens: how does client-side auth work? Senior PRO
  17. Polling, long polling, SSE or WebSocket: how do you get real-time data? Middle PRO

Practice this before your interview

DevPrep turns these answers into one-minute challenges: what does this code print, find the bug, mock interviews. One challenge a day.

Get DevPrep on the App Store