NSKeyValueCoding

A mechanism by which you can access the properties of an object indirectly by name or key. それによってあなたがあるオブジェクトのプロパティに名前またはキーによって間接的にアクセスできるある仕組み。

Overview 概要

The basic methods for accessing an object’s values are setValue(_:forKey:), which sets the value for the property identified by the specified key, and value(forKey:), which returns the value for the property identified by the specified key. Thus, all of an object’s properties can be accessed in a consistent manner.

The default implementation relies on the accessor methods normally implemented by objects (or to access instance variables directly if need be).

Topics 話題

Getting Values 値を取得する

Setting Values 値を設定する

Validation 検証

Constants 定数

See Also 参照

Object Basics オブジェクト基礎

Related Documentation 関連文書