Function 関数

ivar_getOffset

Returns the offset of an instance variable.

Declaration 宣言

ptrdiff_t ivar_getOffset(Ivar v);

Discussion 解説

For instance variables of type id or other object types, call object_getIvar and object_setIvar instead of using this offset to access the instance variable data directly.

See Also 参照

Working with Instance Variables