iOS Swift - User Input and Forms
You want to create a SwiftUI form where the user enters their email in a
TextField. You want to validate the input so that the submit button is only enabled when the email contains an '@' character. Which approach correctly implements this behavior?