SwiftUI Email Verification View
A SwiftUI View typically used after an account has been created, when waiting for a verification message sent to the user’s email to be acknowledged. Handles long-polling logic to continually check an API resource for email verification.


Usage
(
EmailVerificationView: EmailVerificationInteractor(
interactor: user,
user: { user in
didVerifyUserEmail}
)
)
Features
- A loading spinner is integrated to appear when triggering an API request to send a verification email.
- Interaction bindings for users to resend 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.