DekGenius.com
[ Team LiB ] Previous Section Next Section

NSClassDescription Mac OS X 10.0

This class provides an intelligent interface to Foundation's key-value coding capabilities (see NSKeyValueCoding in Chapter 2). The main purpose of this class is to provide an interface for objects to determine the properties and characteristics of a class. NSClassDescription is an abstract class, upon which Foundation implements the concrete subclass NSScriptClassDescription.

figs/cocn_1314.gif

@interface NSClassDescription : NSObject
 // Class Methods
   + (NSClassDescription *)classDescriptionForClass:(Class)aClass;
   + (void)invalidateClassDescriptionCache;
   + (void)registerClassDescription:(NSClassDescription *)description forClass:(Class)aClass;
 // Instance Methods
   - (NSArray *)attributeKeys;
   - (NSArray *)attributeKeys;
   - (NSClassDescription *)classDescription;
   - (NSString *)inverseForRelationshipKey:(NSString *)relationshipKey;
   - (NSString *)inverseForRelationshipKey:(NSString *)relationshipKey;
   - (NSArray *)toManyRelationshipKeys;
   - (NSArray *)toManyRelationshipKeys;
   - (NSArray *)toOneRelationshipKeys;
   - (NSArray *)toOneRelationshipKeys;
// Notifications
   NSClassDescriptionNeededForClassNotification;

Subclasses

NSScriptClassDescription

    [ Team LiB ] Previous Section Next Section