Contents

ivar_getTypeEncoding(_:)

Returns the type string of an instance variable.

Declaration

func ivar_getTypeEncoding(_ v: Ivar) -> UnsafePointer<CChar>?

Return Value

A C string containing the instance variable’s type encoding.

Discussion

For possible values, see Objective-C Runtime Programming Guide > Type Encodings.

See Also

Working with Instance Variables