Other Enumerations

The following enumerations are available globally.

  • Alignment that can be applied to selected UI components that support custom text alignment.

    • leading: Leading alignment.
    • default: Default alignment.
    Declaration

    Swift

    public enum MimiTextAligment
  • A handy collection of Mimi icons

    • alert: Used to accompany alerts.
    • check: Used to indicate a positive/success action.
    • cross: Used to indicate a delete action.
    • exit: Used to indicate an exit action.
    • help: Used to accompany help.
    • info: Used to accompany information.
    • share: Used to indicate a share action.
    Declaration

    Swift

    public enum MimiIconBook
  • Class to use for layout sizing.

    • compact: The screen is compact, and should be considered to be small.
    • regular: The screen is regular.
    • large: The screen is large.
    Declaration

    Swift

    @objc
    public enum MimiLayoutClass : Int
  • State Machine Errors

    • invalidTransition: Transition could not be executed because it has not been registered.
    Declaration

    Swift

    public enum MimiStateMachineError : Error