MimiTextButton

@MainActor
open class MimiTextButton : MimiButton

Button that appears as a simple label.

  • Style for the button.

    • default: Default button that performs a non-destructive action.
    • destructive: Destructive - will perform a destructive action.
    Declaration

    Swift

    public enum Style
  • Style of the button.

    Declaration

    Swift

    @MainActor
    open var style: Style { get set }
  • The tint color to apply to the button title and image.

    Declaration

    Swift

    @MainActor
    open override var tintColor: UIColor! { get set }
  • The tint color to apply to the button title and image when highlighted.

    Declaration

    Swift

    @MainActor
    open var highlightedTintColor: UIColor! { get set }
  • Font to use for the button title.

    Defaults to medium systemFont at 20.0 points.

    Declaration

    Swift

    @MainActor
    open var titleFont: UIFont! { get set }
  • Declaration

    Swift

    @MainActor
    open override func construct(in view: UIView)