macOS/iOS API解説

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

目次

levelIndicatorStyle

レシーバーのレベルインジケータースタイルを返します

解説

レシーバーのレベルインジケータースタイルを返します。
【NSLevelIndicatorStyle】
●NSRelevancyLevelIndicatorStyle
 縦縞
●NSContinuousCapacityLevelIndicatorStyle
 連続した横長の棒スタイル
●NSDiscreteCapacityLevelIndicatorStyle
 区切りのある横長の棒スタイル
●NSRatingLevelIndicatorStyle
 iTunesのレートのような★5つスタイル

返り値

( NSLevelIndicatorStyle )

なし

引数

フレームワーク

ApplicationKit

クラス

NSLevelIndicatorCell

Instance Methods

使用可能

10.4

参照

-setLevelIndicatorStyle:

例文

switch ([iCell levelIndicatorStyle]){
	case NSRelevancyLevelIndicatorStyle:
		NSLog(@"NSRelevancyLevelIndicatorStyle");break;
	case NSContinuousCapacityLevelIndicatorStyle:
		NSLog(@"NSContinuousCapacityLevelIndicatorStyle");break;
	case NSDiscreteCapacityLevelIndicatorStyle:
		NSLog(@"NSDiscreteCapacityLevelIndicatorStyle");break;
	case NSRatingLevelIndicatorStyle:
		NSLog(@"NSRatingLevelIndicatorStyle");break;
	
	

}