Contents

addThrottle(descriptor:)

Creates a new throttle control with the provided descriptor, and adds it to the touch controller.

Declaration

func addThrottle(descriptor: TCThrottleDescriptor) -> TCThrottle

Parameters

  • descriptor:

    The TCThrottleDescriptor containing the configuration for the throttle.

Return Value

A new TCThrottle instance.

See Also

Adding a throttle control