macOS/iOS API解説

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

目次

isDisplayedWhenStopped

プログレスバーが停止している時に表示するかを返します

解説

プログレスバーが停止している時に表示するかを返します。
停止中でも表示する場合はYESを返します。
停止中に表示しない場合はNOを返します。

返り値

( BOOL )

YES/NO

引数

フレームワーク

ApplicationKit

クラス

NSProgressIndicator

Instance Methods

使用可能

10.2

参照

- animationDelay
- setAnimationDelay:

例文

#import "MyObject.h"

@implementation MyObject

- (IBAction)button:(id)sender
{
[myOutlet startAnimation:sender];
}
- (IBAction)button2:(id)sender;
{
[myOutlet stopAnimation:sender];

[myOutlet setDisplayedWhenStopped:NO];

if ([myOutlet isDisplayedWhenStopped])
{
NSLog(@"!!!");
}

}
- (IBAction)slider:(id)sender
{
}

@end