SwiftUI Change Email View
A SwiftUI View that handles email entry when a user has intent to alter their account.
Usage
(
ChangeEmailView: ChangeEmailVerificationInteractor(
interactor: user,
user: { email in
needsEmailVerification// Navigate to email verification
}
)
)
Features
- Validates text entry to guard against malformed emails, with matching error handling.
- Supports light and dark device color schemes by default.
- Supports font scaling via Dynamic Type.
- Supports offline usage in SwiftUI Previews for easy debugging and testing.