description
セットの内容を文字列で返します
解説
セットの内容を文字列で返します。
返り値
( NSString * )
内容の文字列
引数
フレームワーク
Foundation
クラス
NSSet
Instance Methods
使用可能
10.0
iOS2.0
参照
- descriptionWithLocale:
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { NSArray *arr = [NSArray arrayWithObjects:@"aaa",@"bbb",@"ccc",nil]; NSSet *set = [NSSet setWithArray:arr]; NSLog([set description]); } @end