Contents

doubleValueForSelectedSegment

When the tracking mode for the control is set to use a momentary accelerator, returns a value for the selected segment.

Declaration

var doubleValueForSelectedSegment: Double { get }

Return Value

The value of the selected segment interpreted as a double-precision floating-point number.

Discussion

This method is intended for use with controls whose tracking mode is set to NSSegmentedControl.SwitchTracking.momentaryAccelerator. An assertion will occur if this method is called for other types of segmented controls.

See Also

Related Documentation

Managing the selected segment