attributeKeys
属性キーの配列を返します
解説
属性キーの配列を返します。
返り値
( NSArray * )
配列
引数
フレームワーク
Foundation
クラス
NSObject
Instance Methods
使用可能
10.0
参照
- classDescription
- inverseForRelationshipKey:
- toManyRelationshipKeys
- toOneRelationshipKeys
例文
// Apple Scriptのadditionコマンド -(NSNumber *) retCommand:(NSScriptCommand *)sCommand { NSNumber *number = (NSNumber *)[[sCommand evaluatedArguments] objectForKey:@"withNumber"]; NSString *string = (NSString *)[[sCommand evaluatedArguments] objectForKey:@"withString"]; NSPropertySpecifier *prop = [sCommand directParameter]; NSLog([NSString stringWithFormat:@"%x",[[prop containerClassDescription] className]]); NSLog([NSString stringWithFormat:@"%x",[[prop keyClassDescription] className]]); NSLog([[ self attributeKeys] description]); return number; }