- Inherits from:
- Object
- Package:
- com.apple.client.eocontrol
The EOKeyValueCodingAdditions.Support class provides default implementations of the EOKeyValueCodingAdditions interface.
Note: This class doesn't exist in the com.apple.yellow.eocontrol package. |
An EOCustomObject uses EOKeyValueCodingAdditions.Support's default implementations. EOKeyValueCodingAdditions.Support also enables you to put non-enterprise objects into the interface layer by declaring that your class conforms to key-value coding.
The methods in the Support class are just like the methods defined by the EOKeyValueCodingAdditions interface, except they are all static methods and they take an extra argument-the enterprise object on which the default implementation should operate. For example, suppose you want to implement an Employee enterprise object class that doesn't inherit from EOCustomObject but that uses Support's default implementations. Employee's valuesForKeys method would look like this:
public abstract NSDictionary valuesForKeys(NSArray keys) return EOKeyValueCodingAdditions.Support.valuesForKeys(this, keys); }
public static void
takeValueForKeyPath
(
NSKeyValueCoding anObject,
Object value,
String keyPath)
See Also: takeValueForKeyPath (EOKeyValueCodingAdditions)
public static void
takeValuesFromDictionary
(
NSKeyValueCoding anObject,
NSDictionary aDictionary)
null
for EONullValues
in aDictionary. See Also: takeValuesFromDictionary (EOKeyValueCodingAdditions)
public static Object
valueForKeyPath
(
NSKeyValueCoding anObject,
String keyPath)
valueForKey
message to the final object.See Also: valueForKeyPath (EOKeyValueCodingAdditions)
public static NSDictionary
valuesForKeys
(
NSKeyValueCoding anObject,
NSArray keys)
null
values.See Also: valuesForKeys (EOKeyValueCodingAdditions)