macOS/iOS API解説

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

目次

NSNumberFormatter

setNegativeSuffix:

-(void)setNegativeSuffix:(NSString *)string: 解説 ネガティブサフィックスをレシーバにセットします。 返り値 ( void ) なし 引数 ( NSString * )string フレームワーク Foundation クラス NSNumberFormatter Instance Methods 使用可能 10.4 参照 -negat…

setNilSymbol:

-(void)setNilSymbol:(NSString *)string: 解説 nil値の際に使う文字をセットします。 返り値 ( void ) なし 引数 ( NSString * )string フレームワーク Foundation クラス NSNumberFormatter Instance Methods 使用可能 10.4 参照 -nilSymbol 例文

setNotANumberSymbol:

-(void)setNotANumberSymbol:(NSString *)string: 解説 数字でない場合に使う文字をセットします。 返り値 ( void ) なし 引数 ( NSString * )string フレームワーク Foundation クラス NSNumberFormatter Instance Methods 使用可能 10.4 参照 -notANumberS…

setNumberStyle:

-(void)setNumberStyle:(NSNumberFormatterStyle)style: 解説 レシーバーの番号スタイルをセットします。 スタイルは基本的にあらかじめいくつかのプロパティがセットされる。 番号フォーマッタースタイルの例として、 10進数で使う、パーセントの値、通貨。…

setPaddingCharacter:

-(void)setPaddingCharacter:(NSString *)string: 解説 調査中... 分割文字をセットします。 返り値 ( void ) なし 引数 ( NSString * )string フレームワーク Foundation クラス NSNumberFormatter Instance Methods 使用可能 10.4 参照 -paddingCharacter …

setPaddingPosition:

-(void)setPaddingPosition:(NSNumberFormatterPadPosition)position: 解説 パッディング位置をセットします。 有効なフォーマッタースタイルはConstant を見てください。 返り値 ( void ) なし 引数 ( NSNumberFormatterPadPosition )position フレームワー…

setPerMillSymbol:

-(void)setPerMillSymbol:(NSString *)string: 解説 パーミル(1/1000)記号をセットします。 返り値 ( void ) なし 引数 ( NSString * )string フレームワーク Foundation クラス NSNumberFormatter Instance Methods 使用可能 10.4 参照 -perMillSymbol 例…

setPercentSymbol:

-(void)setPercentSymbol:(NSString *)string: 解説 パーセント記号をセットします。 返り値 ( void ) なし 引数 ( NSString * )string フレームワーク Foundation クラス NSNumberFormatter Instance Methods 使用可能 10.4 参照 -percentSymbol 例文

setPlusSign:

-(void)setPlusSign:(NSString *)string: 解説 プラス記号をセットします。 返り値 ( void ) なし 引数 ( NSString * )string フレームワーク Foundation クラス NSNumberFormatter Instance Methods 使用可能 10.4 参照 -plusSign 例文

setPositiveInfinitySymbol:

-(void)setPositiveInfinitySymbol:(NSString *)string: 解説 無限大増加記号をセットします。 返り値 ( void ) なし 引数 ( NSString * )string フレームワーク Foundation クラス NSNumberFormatter Instance Methods 使用可能 10.4 参照 -positiveInfinit…

setPositivePrefix:

-(void)setPositivePrefix:(NSString *)string: 解説 プラスの接頭語をセットします。 返り値 ( void ) なし 引数 ( NSString * )string フレームワーク Foundation クラス NSNumberFormatter Instance Methods 使用可能 10.4 参照 -positivePrefix 例文

setPositiveSuffix:

-(void)setPositiveSuffix:(NSString *)string: 解説 プラスの接尾語をセットします。 返り値 ( void ) なし 引数 ( NSString * )string フレームワーク Foundation クラス NSNumberFormatter Instance Methods 使用可能 10.4 参照 -positiveSuffix 例文

setRoundingIncrement:

-(void)setRoundingIncrement:(NSNumber *)number: 解説 切り上げをセットします。 返り値 ( void ) なし 引数 ( NSNumber * )number フレームワーク Foundation クラス NSNumberFormatter Instance Methods 使用可能 10.4 参照 -roundingIncrement 例文

setRoundingMode:

-(void)setRoundingMode:(NSNumberFormatterRoundingMode)mode: 解説 レシーバーが使う丸めモードをセットします。 有効な丸めモードはConstantsを見てください。 返り値 ( void ) なし 引数 ( NSNumberFormatterRoundingMode )mode フレームワーク Foundati…

setSecondaryGroupingSize:

-(void)setSecondaryGroupingSize:(unsigned int)number: 解説 調査中... 返り値 ( void ) なし 引数 ( unsigned int )number フレームワーク Foundation クラス NSNumberFormatter Instance Methods 使用可能 10.4 参照 -secondaryGroupingSize 例文

setTextAttributesForNegativeInfinity:

-(void)setTextAttributesForNegativeInfinity:(NSDictionary *)newAttributes: 解説 マイナス無限大を表すテキスト属性をセットします。 返り値 ( void ) なし 引数 ( NSDictionary * )newAttributes フレームワーク Foundation クラス NSNumberFormatter I…

setTextAttributesForNil:

-(void)setTextAttributesForNil:(NSDictionary *)newAttributes: 解説 nil記号を表すテキスト属性をセットします。 返り値 ( void ) なし 引数 ( NSDictionary * )newAttributes フレームワーク Foundation クラス NSNumberFormatter Instance Methods 使用…

setTextAttributesForNotANumber:

-(void)setTextAttributesForNotANumber:(NSDictionary *)newAttributes: 解説 調査中... 数字ではないときの文字属性をセットします。 返り値 ( void ) なし 引数 ( NSDictionary * )newAttributes フレームワーク Foundation クラス NSNumberFormatter Ins…

setTextAttributesForPositiveInfinity:

-(void)setTextAttributesForPositiveInfinity:(NSDictionary *)newAttributes: 解説 正の無限大記号の表示に使うテキスト属性をセットします。 返り値 ( void ) なし 引数 ( NSDictionary * )newAttributes フレームワーク Foundation クラス NSNumberForma…

setTextAttributesForZero:

-(void)setTextAttributesForZero:(NSDictionary *)newAttributes: 解説 ゼロの表示に使うテキスト属性をセットします。 返り値 ( void ) なし 引数 ( NSDictionary * )newAttributes フレームワーク Foundation クラス NSNumberFormatter Instance Methods …

setUsesGroupingSeparator:

-(void)setUsesGroupingSeparator:(BOOL)b: 解説 レシーバーはグループセパレーターを表示するかどうかのブール値をセットします。 返り値 ( void ) なし 引数 ( BOOL )b フレームワーク Foundation クラス NSNumberFormatter Instance Methods 使用可能 10.…

setZeroSymbol:

-(void)setZeroSymbol:(NSString *)string: 解説 ゼロの文字列をセットします。 返り値 ( void ) なし 引数 ( NSString * )string フレームワーク Foundation クラス NSNumberFormatter Instance Methods 使用可能 10.4 参照 -zeroSymbol 例文

stringFromNumber:

-(NSString *)stringFromNumber:(NSNumber *)number: 解説 数値(NSNumber)を現在のレシーバーの設定でフォーマットして文字列を返します。 返り値 ( NSString * ) なし 引数 ( NSNumber * )number フレームワーク Foundation クラス NSNumberFormatter Insta…

allowsFloats

数字フォーマッタは小数点値を扱うかを返します 解説 数字フォーマッタは小数点値を扱うかを返します。 初期設定はYESです。 返り値 ( BOOL ) YES/NO 引数 フレームワーク Foundation クラス NSNumberFormatter Instance Methods 使用可能 10.0 参照 - setAl…

attributedStringForNil

数字フォーマッタのnilの時の属性付き文字列を返します 解説 数字フォーマッタのnilの時の属性付き文字列を返します。 初期設定は空の文字列です。 返り値 ( NSAttributedString * ) 属性付き文字列 引数 フレームワーク Foundation クラス NSNumberFormatte…

attributedStringForNotANumber

数字フォーマッタの「数字でない値」を表示するときに使う属性付き文字列を返します 解説 数字フォーマッタの「数字でない値」を表示するときに使う属性付き文字列を返します。 返り値 ( NSAttributedString * ) 数でない値を表す属性付き文字列 引数 フレー…

attributedStringForZero

ゼロの値を表示する属性付き文字列を返します 解説 ゼロの値を表示する属性付き文字列を返します。 返り値 ( NSAttributedString * ) ゼロを表す属性付き文字列 引数 フレームワーク Foundation クラス NSNumberFormatter Instance Methods 使用可能 10.0 参…

decimalSeparator

数字フォーマッタの小数点に使う文字を返します 解説 数字フォーマッタの小数点に使う文字を返します。 初期設定はピリオド"."です。 返り値 ( NSString * ) 小数点を表す文字列 引数 フレームワーク Foundation クラス NSNumberFormatter Instance Methods …

format

数字フォーマットに含まれているフォーマットを返します 解説 数字フォーマットに含まれているフォーマットを返します。 返り値 ( NSString * ) 文字列 引数 フレームワーク Foundation クラス NSNumberFormatter Instance Methods 使用可能 10.0 参照 例文 …

hasThousandSeparators

数字フォーマッタは、1000ずつの桁区切りを使うかを返します 解説 数字フォーマッタは、1000ずつの桁区切りを使うかを返します。 初期設定はNOです。(つかいません) 返り値 ( BOOL ) YES/NO 引数 フレームワーク Foundation クラス NSNumberFormatter Inst…