Function 関数

class_getInstanceVariable

Returns the Ivar for a specified instance variable of a given class.

Declaration 宣言

Ivar class_getInstanceVariable(Class cls, const char *name);

Parameters パラメータ

cls

The class whose instance variable you wish to obtain.

name

The name of the instance variable definition to obtain.

Return Value 戻り値

A pointer to an Ivar data structure containing information about the instance variable specified by name.

See Also 参照

Working with Classes クラスを扱う