Instance Method インスタンスメソッド

valueForKeyPath:

Returns the value for the derived property identified by a given key path.

Declaration 宣言

- (id)valueForKeyPath:(NSString *)keyPath;

Parameters パラメータ

keyPath

A key path of the form relationship.property (with one or more relationships); for example “department.name” or “department.manager.lastName”.

Return Value 戻り値

The value for the derived property identified by keyPath.

Discussion 解説

The default implementation gets the destination object for each relationship using valueForKey: and returns the result of a valueForKey: message to the final object.

See Also 参照

Getting Values 値を取得する

Related Documentation 関連文書