NSScriptKeyValueCoding

NSScriptKeyValueCoding Mac OS X 10.0

This protocol defines additional key-value coding functionality beyond that of NSKeyValueCoding. The additional functionality provides support for scriptability in Cocoa.

@interface NSObject (NSScriptKeyValueCoding)
 // Instance Methods
   - (id)valueAtIndex:(unsigned)index inPropertyWithKey:(NSString *)key;
   - (id)valueWithName:(NSString *)name inPropertyWithKey:(NSString *)key;
   - (id)valueWithUniqueID:(id)uniqueID inPropertyWithKey:(NSString *)key;
   - (void)replaceValueAtIndex:(unsigned)index inPropertyWithKey:(NSString *)key withValue:(id)value;
   - (void)insertValue:(id)value atIndex:(unsigned)index inPropertyWithKey:(NSString *)key;
   - (void)removeValueAtIndex:(unsigned)index fromPropertyWithKey:(NSString *)key;
   - (void)insertValue:(id)value inPropertyWithKey:(NSString *)key;
   - (id)coerceValue:(id)value forKey:(NSString *)key;
@end



    Part II: API Quick Reference
    Chapter 13. Foundation Classes