Suggested approach: There are two primary ways this is done: using the @Published
property wrapper, or by calling objectWillChange.send()
directly.
Try to provide examples of when one is preferable over the other, such as saying that you might use @Published
by default, switching over to objectWillChange.send()
for times when you need more fine-grained control.
Estimated difficulty: Intermediate
Watch me answer this question in detail
See the full list of iOS interview questions
Link copied to your pasteboard.