Documentation

SwiftUI Change Email View

A SwiftUI View that handles email entry when a user has intent to alter their account.

ChangeEmailView with a light color scheme. A SwiftUI Starter Kit Component.
ChangeEmailView with a light color scheme.
ChangeEmailView with a dark color scheme. A SwiftUI Starter Kit Component.
ChangeEmailView with a dark color scheme.

Usage

ChangeEmailView(
    interactor: ChangeEmailVerificationInteractor(
        user: user,
        needsEmailVerification: { email in
            // 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.