36 if (
self = [super initWithCoder:aCoder])
38 _source = [aCoder decodeObjectForKey:CPCibRuntimeAttributesConnectorObjectKey];
39 _keyPaths = [aCoder decodeObjectForKey:CPCibRuntimeAttributesConnectorKeyPathsKey];
40 _values = [aCoder decodeObjectForKey:CPCibRuntimeAttributesConnectorValuesKey];
50 [aCoder encodeObject:_source forKey:CPCibRuntimeAttributesConnectorObjectKey];
51 [aCoder encodeObject:_keyPaths forKey:CPCibRuntimeAttributesConnectorKeyPathsKey];
52 [aCoder encodeObject:_values forKey:CPCibRuntimeAttributesConnectorValuesKey];
55 - (void)establishConnection
57 var count = [_keyPaths count];
60 [_source setValue:_values[count] forKeyPath:_keyPaths[count]];
var CPCibRuntimeAttributesConnectorValuesKey
var CPCibRuntimeAttributesConnectorObjectKey
Defines methods for use when archiving & restoring (enc/decoding).
void encodeWithCoder:(CPCoder aCoder)
var CPCibRuntimeAttributesConnectorKeyPathsKey