SwiftUI Reset Password View
A SwiftUI View that handles receiving a user email for the purpose of initiating a password reset. Typically used when performing password change in a non-authenticated state.
Usage
(
ResetPasswordView: ResetPasswordInteractor(didResetPassword: {
interactor// navigate back to authentication
})
)
Features
- Validates email entry and prevents the user from submitting an invalid email.
- 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.
Notes
- Used in AuthenticationContainer when selecting “Forgot Password?” on SignInView.
- Intended for use during user authentication.