descriptionWithLocale:
配列を文字列にして返します
-(NSString *)descriptionWithLocale:(id)locale
解説
配列をプロパティリスト形式の文字列にして返します。
フォーマットしたくない場合はnilをセットします。
返り値
( NSString * )
文字列
フレームワーク
Foundation
クラス
NSArray
Instance Methods
使用可能
10.0
iOS2.0
参照
- description
- descriptionWithLocale:indent:
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { [myOutlet setStringValue:[[[NSArray alloc] initWithObjects:@"aaa",@"bbb",@"ccc",nil] descriptionWithLocale:nil]]; } @end