(informal protocol)
準拠 | NSObject |
フレームワーク | /System/Library/Frameworks/Foundation.framework |
使用可能 | OS X 10.0 |
iOS 2.0 | |
定義 | NSKeyValueCoding.h |
概要
参照
タスク
Getting Values
– valueForKey:
– valueForKeyPath:
– dictionaryWithValuesForKeys:
– valueForUndefinedKey:
– mutableArrayValueForKey:
– mutableArrayValueForKeyPath:
– mutableSetValueForKey:
– mutableSetValueForKeyPath:
– mutableOrderedSetValueForKey:
– mutableOrderedSetValueForKeyPath:
Setting Values
– setValue:forKeyPath:
– setValuesForKeysWithDictionary:
– setNilValueForKey:
– setValue:forKey:
– setValue:forUndefinedKey:
Changing Default Behavior
+ accessInstanceVariablesDirectly
Validation
– validateValue:forKey:error:
– validateValue:forKeyPath:error:
Deprecated Methods
– handleQueryWithUnboundKey: Deprecated in OS X v10.3
– handleTakeValue:forUnboundKey: Deprecated in OS X v10.3
– takeValue:forKey: Deprecated in OS X v10.3
– takeValue:forKeyPath: Deprecated in OS X v10.3
– takeValuesFromDictionary: Deprecated in OS X v10.3
– unableToSetNilForKey: Deprecated in OS X v10.3
– valuesForKeys: Deprecated in OS X v10.3
+ useStoredAccessor Deprecated in OS X v10.4
– storedValueForKey: Deprecated in OS X v10.4
– takeStoredValue:forKey: Deprecated in OS X v10.4