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

objectForKey:

Returns the value associated with a given key. 与えられたキーと結びつけられた値を返します。

Declaration 宣言

- (ObjectType)objectForKey:(KeyType)aKey;

Parameters パラメータ

aKey

The key for which to return the corresponding value. それに対して対応する値を返すことになるキー。

Return Value 戻り値

The value associated with aKey, or nil if no value is associated with aKey. aKeyと結び付けられた値、またはnil、もしaKeyと結び付けられた値がないならば。

See Also 参照

Accessing Keys and Values キーと値にアクセスする