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

includesUnit

Determines whether to include the units in the resulting formatted string. 結果となる書式設定された文字列に単位を含めるかどうかを決定します。

Declaration 宣言

@property BOOL includesUnit;

Discussion 議論

If set to YES and includesCount is set to NO, no count is displayed. For example, a value of 723 KB is formatted as KB. YESに設定してincludesCountNOに設定されるならば、計数は表示されません。例えば、723 KB の値はKBのように書式設定されます。

You can get the set this property to YES and the includesCount to YES individually to get both parts, separately. Note that putting them together yourself via string concatenation may be incorrect for some locales. あなたは、このプロパティをYESにそしてincludesCountYESに個々に設定し得ることで、両方の部分を別々に得られます。文字列連結によってあなた自身でそれらを一緒にまとめることは、幾つかのロケールで正しくないかもしれないことに注意してください。

The default value is YES. 省略時の値は、YESです。

See Also 参照

Setting Formatting Styles 書式形式を設定する