O'Reilly logo

Cocoa in a Nutshell by James Duncan Davidson, Michael Beam

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

NSStepper — Mac OS X 10.0

Synopsis

This is a subclass of NSControl that allows users to change an incremental value by clicking on portions of the control that either increment or decrement the value of the control by some predetermined amount.

image with no caption

@interface NSStepper : NSControl
                                  // Accessor Methods
   - (void)setMaxValue:(double)maxValue;
   - (double)maxValue;
   - (void)setMinValue:(double)minValue;
   - (double)minValue;
   - (void)setAutorepeat:(BOOL)autorepeat;
   - (BOOL)autorepeat;
   - (void)setIncrement:(double)increment;
   - (double)increment;
   - (void)setValueWraps:(BOOL)valueWraps;
   - (BOOL)valueWraps;

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required