DevPrep

All topics

🔗 Combine: iOS interview questions

  1. What is Combine and its basic entities? Middle PRO
  2. PassthroughSubject vs CurrentValueSubject? Middle PRO
  3. What does @Published do? Middle PRO
  4. How do you manage subscription memory (AnyCancellable)? Middle PRO
  5. map, flatMap, combineLatest — what do they do? Middle PRO
  6. What is a Scheduler and the receive(on:)/subscribe(on:) operators? Senior PRO
  7. Combine vs async/await — which to choose? Middle PRO
  8. What is backpressure/demand in Combine? Senior PRO
  9. How do errors work in Combine: Failure, catch, retry, and why does the stream die? Middle PRO
  10. Debounced search in Combine: debounce, removeDuplicates, switchToLatest Middle PRO
  11. Cold and hot publishers: share, multicast and Future — what runs how many times? Senior PRO
  12. How do you test Combine pipelines? Middle PRO
  13. How do you bridge Combine and async/await: .values, Future from async, and AsyncStream? Senior 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