Function 関数

ivar_getOffset(_:)

Returns the offset of an instance variable.

Declaration 宣言

func ivar_getOffset(_ v: Ivar) -> Int

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