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

valueForUndefinedKey:

Invoked by valueForKey: when it finds no property corresponding to a given key.

Declaration 宣言

- (id)valueForUndefinedKey:(NSString *)key;

Parameters パラメータ

key

A string that is not equal to the name of any of the receiver's properties.

Discussion 解説

Subclasses can override this method to return an alternate value for undefined keys. The default implementation raises an NSUndefinedKeyException.

See Also 参照

Getting Values 値を取得する

Related Documentation 関連文書