🔗 Combine: iOS interview questions
- What is Combine and its basic entities? Middle PRO
- PassthroughSubject vs CurrentValueSubject? Middle PRO
- What does @Published do? Middle PRO
- How do you manage subscription memory (AnyCancellable)? Middle PRO
- map, flatMap, combineLatest — what do they do? Middle PRO
- What is a Scheduler and the receive(on:)/subscribe(on:) operators? Senior PRO
- Combine vs async/await — which to choose? Middle PRO
- What is backpressure/demand in Combine? Senior PRO
- How do errors work in Combine: Failure, catch, retry, and why does the stream die? Middle PRO
- Debounced search in Combine: debounce, removeDuplicates, switchToLatest Middle PRO
- Cold and hot publishers: share, multicast and Future — what runs how many times? Senior PRO
- How do you test Combine pipelines? Middle PRO
- 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