macOS/iOS API解説

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

目次

setAttributedStringForNotANumber:

数字フォーマッタの「数字でない値」を表示するときの属性付き文字列をセットします
-(void)setAttributedStringForNotANumber:(NSAttributedString *)newAttributedString:

解説

数字フォーマッタの「数字でない値」を表示するときに使う属性付き文字列をセットします。

返り値

( void )

なし

引数

( NSAttributedString * )newAttributedString

属性付き文字列

クラス

NSNumberFormatter

Instance Methods

使用可能

10.0

参照

- attributedStringForNotANumber

例文