Name
NSScriptKeyValueCoding — Mac OS X 10.0
Synopsis
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 |
Get Cocoa in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.