This isn't working properly in my xcode :(

#2 · closed · 2 comments

View on GitHub ↗

podiyaaa

I try this example with my xcode and it doesn't work for me. will you be able to help me ?

Comments

shinrenpan

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) ```

mcichecki

@shinrenpan thanks, fix (#3) is already available on master branch.