Mac Developer Library

Developer

AppKit Framework Reference NSStepperCell Class Reference

Options
Deployment Target:

On This Page
Language:

NSStepperCell

An NSStepperCell object controls the appearance and behavior of an NSStepper object.

  • The maximum value for the receiver.

    Declaration

    Swift

    var maxValue: Double

    Objective-C

    @property double maxValue

    Discussion

    The default is 59.

    Availability

    Available in OS X v10.0 and later.

  • The minimum value for the receiver.

    Declaration

    Swift

    var minValue: Double

    Objective-C

    @property double minValue

    Discussion

    The default is 0.

    Availability

    Available in OS X v10.0 and later.

  • The amount by which the receiver will change per increment or decrement.

    Declaration

    Swift

    var increment: Double

    Objective-C

    @property double increment

    Discussion

    The default is 1.

    Availability

    Available in OS X v10.0 and later.

  • A Boolean value indicating how the receiver responds to mouse events.

    Declaration

    Swift

    var autorepeat: Bool

    Objective-C

    @property BOOL autorepeat

    Discussion

    If YEStrue, the first mouse down will do one increment (decrement), and, after a delay of 0.5 seconds, will increment (decrement) at a rate of ten times per second. If NOfalse, the receiver will do one increment (decrement) on a mouse up. The default is YEStrue

    Availability

    Available in OS X v10.0 and later.

  • A Boolean value indicating whether the receiver wraps around the minimum and maximum values.

    Declaration

    Swift

    var valueWraps: Bool

    Objective-C

    @property BOOL valueWraps

    Discussion

    YEStrue if, when incrementing or decrementing, the value wraps around to the minimum or maximum. NOfalse if the value stays pinned at the minimum or maximum. The default is YEStrue.

    Availability

    Available in OS X v10.0 and later.