re: Getting started with SwiftUI and Combine. VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Same as your sample except TodoListViewModel: changed didChange to willChange per Version 4 beta requirements import Foundation import SwiftUI imp...

Replacing didChange to willChange did not raise any error, but I noticed you did not added the satisfying types for output and failures. In my case :

public let willChange = PassthroughSubject<TodoViewModel, Never>()

I have no idea of how you could get that kind of error, but check if that's what you missed.

code of conduct - report abuse