descriptionWithLocale:indent:
調査中
-(NSString *)descriptionWithLocale:(NSDictionary *)locale indent:(unsigned)level
解説
調査中
ローカライズ辞書とインデントレベルを使って内容を文字列で返します。
返り値
( NSString * )
文字列
引数
( NSDictionary * )locale
辞書
( unsigned )level
インデントレベル
フレームワーク
Foundation
クラス
NSDictionary
Instance Methods
使用可能
10.0
参照
- description
- descriptionWithLocale:
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { NSDictionary *dic= [[NSDictionary alloc] initWithObjectsAndKeys: @",",@"NSDecimalSeparator",//小数点区切りフランスでは,が小数点 nil]; NSDictionary *dic2 = [NSDictionary dictionaryWithObjectsAndKeys: [NSNumber numberWithFloat:233.333],@"sun", [NSNumber numberWithFloat:124.34],@"mon", [NSNumber numberWithFloat:1234.23],@"sat",nil]; [myOutlet insertText:[dic2 descriptionWithLocale:dic indent:1]]; } @end