TooltipProvider

public protocol TooltipProvider

A tooltip provider that dynamically updates its tooltips content.

  • Gets the current tooltip value.

    Declaration

    Swift

    var tooltip: Tooltip? { get }
  • Event called whenever the contents of the tooltip have been updated.

    Declaration

    Swift

    var tooltipUpdated: EventSource<Tooltip?> { get }
  • Returns a view in a hierarchy for positioning the tooltip on the screen.

    Declaration

    Swift

    var viewForTooltip: View { get }
  • The preferred location for displaying tooltips of this provider.

    Declaration

    Swift

    var preferredTooltipLocation: PreferredTooltipLocation { get }
  • Gets the conditions under which a tooltip from this tooltip provider should be displayed.

    Declaration

    Swift

    var tooltipCondition: TooltipDisplayCondition { get }
  • Delay, in seconds, before a tooltip from this provider should be shown. If nil, tooltip delay is defined by the control system implementation.

    Declaration

    Swift

    var tooltipDelay: TimeInterval? { get }