podiyaaa
I try this example with my xcode and it doesn't work for me. will you be able to help me ?
#2 · closed · 2 comments
I try this example with my xcode and it doesn't work for me. will you be able to help me ?
All AnyCancellable should stored in an Set<AnyCancellable> try ```swift class LoginViewController: UIViewController { ... private var bindings = Set<AnyCancellable>() } contentView.loginTextField.textPublisher .receive(on: DispatchQueue.main) .assign(to: \.login, on: viewModel) .store(in: &bindings) ```
@shinrenpan thanks, fix (#3) is already available on master branch.