DekGenius.com
[ Team LiB ] Previous Section Next Section

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

    [ Team LiB ] Previous Section Next Section