minValue
プログレスインジケータの最小値を返します
解説
プログレスインジケータの最小値を返します。
処理時間などが確定できないとき(床屋のポール状態)などは使いません。
初期設定は0.0です。
返り値
( double )
倍精度
引数
フレームワーク
ApplicationKit
クラス
NSProgressIndicator
Instance Methods
使用可能
10.0
参照
- maxValue
- setMinValue:
例文
#import "MyObject.h" @implementation MyObject - (IBAction)button:(id)sender { [myOutlet setIndeterminate:NO]; [myOutlet setMinValue:10.0]; [myOutlet setDoubleValue:10.0]; NSLog([NSString stringWithFormat:@"minValue=%.1f",[myOutlet minValue]]); } - (IBAction)button2:(id)sender; { [myOutlet incrementBy:10.0]; NSLog([NSString stringWithFormat:@"%.1f",[myOutlet doubleValue]]); } - (IBAction)slider:(id)sender { } @end