FUIAuthenticationInformationField

public struct FUIAuthenticationInformationField

This structure describes one input field for user input in the FUIDynamicAuthenticationScreen.

  • The placeholder string for the input field. Usually one-word description of the field, like ‘username’.

    Declaration

    Swift

    public var placeholder: String
  • This property indicates if the text should be secured or not. Usually if the field is for password, then this property should be true.

    Declaration

    Swift

    public var isSecureText: Bool
  • The pre-filled default string for this field. Set this property to nil if there is no default string for this field.

    Declaration

    Swift

    public var informationString: String?
  • The public constructor.

    Declaration

    Swift

    public init(placeholder: String, isSecureText: Bool, informationString: String?)

    Parameters

    placeholder

    The placeholder for this input field.

    isSecureText

    Indicates if this input field is for secured text or not.

    informationString

    The pre-filled default string for this field, if any.