increment
ステッパーの増加量(減少量)を返します
解説
ステッパーの増加量(減少量)を返します。
初期設定は1.0です。
返り値
( double )
増加量
引数
フレームワーク
ApplicationKit
クラス
NSStepper
Instance Methods
使用可能
10.0
参照
- setIncrement:
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { //senderはstepper NSLog([NSString stringWithFormat:@"%.1f",[sender increment]]); } @end