MimiCredentialTextField

@MainActor
open class MimiCredentialTextField : MimiTextField

Text Field designed for inputting user credentials.

  • Type of credential.

    • email: Email Address.
    • password: Password.
    Declaration

    Swift

    public enum Credential
  • Type of credential that will be inputted.

    Declaration

    Swift

    @MainActor
    open var credential: Credential { get set }
  • Declaration

    Swift

    @MainActor
    open override func construct(in view: UIView)
  • Synchronizes the field with another text field for isSecureTextEntry.

    This means that any further updates to isSecureTextEntry will be propogated to both text fields.

    Note

    The field that this function is being called on will be used as the ‘master’, and other field isSecureTextEntry will be set accordingly.

    Declaration

    Swift

    @MainActor
    open func synchronizeSecureTextEntry(with other: MimiCredentialTextField)
    Parameters
    other

    Text field to synchronize with.