SwiftUI-Combine
SwiftUI-Combine copied to clipboard
Code for my article "SwiftUI & Combine: Better Together"
Results
2
SwiftUI-Combine issues
Sort by
recently updated
recently updated
newest added
Hi Peter, I was playing around with your code and found that the removeDuplicates on the isUsernameValidPublisher publisher should be put after the map operator because right now you are...
Instead of using: ``` isUsernameValidPublisher .receive(on: RunLoop.main) .map { valid in valid ? "" : "User name must at least have 3 characters" } .assign(to: \.usernameMessage, on: self) .store(in: &cancellableSet)...