Instance Property インスタンスプロパティ

collapsesLargestUnit

A Boolean value indicating whether to collapse the largest unit into smaller units when a certain threshold is met. 特定の閾値に達する場合に最も大きい単位をより小さい単位へ折りたたむかどうかを指し示すブール値。

Declaration 宣言

@property BOOL collapsesLargestUnit;

Discussion 議論

An example of when this property might apply is when expressing 63 seconds worth of time. When this property is set to YES, the formatted value would be “63s”. When the value of this property is NO, the formatted value would be “1m 3s”. このプロパティが適用されるかもしれない場合の1つの例は、63秒相当の時間を表す場合です。このプロパティがYESに設定される場合、書式設定される値は “63s” になるでしょう。このプロパティの値がNOである場合、書式設定される値は “1m 3s” になるでしょう。

The default value of this property is NO. このプロパティの省略時の値はNOです。

See Also 参照

Configuring the Formatter Options フォーマッタオプションを構成設定する