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

dictionaryForKey:

Returns the dictionary object associated with the specified key. 指定されたキーと結びつけられた辞書オブジェクトを返します。

Declaration 宣言

- (NSDictionary<NSString *,id> *)dictionaryForKey:(NSString *)defaultName;

Parameters パラメータ

defaultName

A key in the current user‘s defaults database. 現在のユーザのもつdefaultsデータベースの中のあるキー。

Return Value 戻り値

The dictionary object associated with the specified key, or nil if the key does not exist or its value is not a dictionary. 指定されたキーと結びつけられた辞書オブジェクト、またはnil、もしそのキーが存在しないまたはそれの値がある辞書ではないならば。

Discussion 議論

The returned dictionary and its contents are immutable, even if the values you originally set were mutable. 返される辞書およびそれの内容は、不変です、たとえあなたがもともと設定した値が可変だったとしても。

See Also 参照

Getting Default Values defaults値を取得する

Related Documentation 関連文書