Function

object_getClassName

Returns the class name of a given object.

Declaration

const char * object_getClassName(id obj);

Parameters

obj

An Objective-C object.

Return Value

The name of the class of which obj is an instance.

See Also

Working with Instances

object_copy

Returns a copy of a given object.

object_dispose

Frees the memory occupied by a given object.

object_setInstanceVariable

Changes the value of an instance variable of a class instance.

object_getInstanceVariable

Obtains the value of an instance variable of a class instance.

object_getIndexedIvars

Returns a pointer to any extra bytes allocated with a instance given object.

object_getIvar

Reads the value of an instance variable in an object.

object_setIvar

Sets the value of an instance variable in an object.

object_getClass

Returns the class of an object.

object_setClass

Sets the class of an object.