addThrottle(descriptor:)
Creates a new throttle control with the provided descriptor, and adds it to the touch controller.
Declaration
func addThrottle(descriptor: TCThrottleDescriptor) -> TCThrottleParameters
- descriptor:
The
TCThrottleDescriptorcontaining the configuration for the throttle.
Return Value
A new TCThrottle instance.