Created
March 29, 2022 07:09
-
-
Save barrault01/cbf5c98adf53d28b6c307ea87171cc7a to your computer and use it in GitHub Desktop.
An ObservableObject user for demonstrating the publisher CombineLatest
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SwiftUI | |
import Combine | |
class User: ObservableObject { | |
@Published var username: String = "" | |
@Published var password: String = "" | |
@Published var protectWithTouchID = false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment