Suggested approach: KVO used to be helpful in UIKit to watch for changes on values that don’t have useful delegates – you can literally say "tell me when this value changes." Try to give at least one specific example, such as watching the page load progress on a WKWebView
. If you’re exclusively using SwiftUI chances are you’ll struggle here.
Estimated difficulty: Advanced
See the full list of iOS interview questions
Link copied to your pasteboard.