Contents

getPeriodicDelay(_:interval:)

Returns by reference the delay and interval periods for a continuous button.

Declaration

func getPeriodicDelay(_ delay: UnsafeMutablePointer<Float>, interval: UnsafeMutablePointer<Float>)

Parameters

  • delay:

    On return, the amount of time (in seconds) that the button will pause before starting to periodically send action messages to the target object. Default values are taken from the user’s defaults (60 seconds maximum); if the user hasn’t specified a default value, this defaults to 0.4 seconds.

  • interval:

    On return, the amount of time (in seconds) between each action message. Default values are taken from the user’s defaults (60 seconds maximum); if the user hasn’t specified a default value, this defaults to 0.075 seconds.

See Also

Related Documentation

Managing the Repeat Interval