setMinValue:
ステッパーの最小値をセットします
-(void)setMinValue:(double)minValue:
解説
ステッパーの最小値をセットします。
返り値
( void )
なし
引数
( double )minValue
最小値
フレームワーク
ApplicationKit
クラス
NSStepper
Instance Methods
使用可能
10.0
参照
- minValue
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { //senderはstepper [sender setMinValue:10.0]; NSLog([NSString stringWithFormat:@"%.1f",[sender minValue]]); } @end