macOS/iOS API解説

iOS , Mac アプリケーション開発のために使われる主要フレームワークの日本語情報です。2010年代に書かれた内容です。今後更新はありません。

目次

setMinValue:

プログレスインジケータの最小値をセットします
-(void)setMinValue:(double)newMinimum:

解説

プログレスインジケータの最小値をセットします。
処理時間などが確定できないとき(床屋のポール状態)などは使いません。

返り値

( void )

なし

引数

( double )newMinimum

最小限の値

フレームワーク

ApplicationKit

クラス

NSProgressIndicator

Instance Methods

使用可能

10.0

参照

- minValue

例文

#import "MyObject.h"

@implementation MyObject

- (IBAction)button:(id)sender
{
[myOutlet setIndeterminate:NO];
[myOutlet setMinValue:10.0];
[myOutlet setDoubleValue:10.0];
}
- (IBAction)button2:(id)sender;
{
[myOutlet incrementBy:10.0];
NSLog([NSString stringWithFormat:@"%.1f",[myOutlet doubleValue]]);
}
- (IBAction)slider:(id)sender
{
}

@end