Core Animation Programming Guide を読んでいると、Key-Value Coding Compliant Container Class というものが登場します。この記事では、Key-Value Coding Compliant Container Class の説明とその使い方について説明します。 Key-Value Coding Compliant Container Class は「任意のキーに任意の値を設定することができるクラス」のことを言います。 値の設定 [obj setValue:someValue forKey:someKey]; someKey に someValue を設定することができます。 値の取得 [obj valueForKey:someKey]; someKey に設定した値を取得することができます。 例えば、CAAnimatio
![Key-Value Coding Compliant Container Class](https://cdn-ak-scissors.b.st-hatena.com/image/square/8d71ff5111e05619a10d29bb40d7aebaa75c8fbc/height=288;version=1;width=512/https%3A%2F%2Fs0.wp.com%2Fi%2Fblank.jpg)