Contents

object_copy

Returns a copy of a given object.

Declaration

extern id object_copy(id obj, size_t size);

Parameters

  • obj:

    An Objective-C object.

  • size:

    The size of the object obj.

Return Value

A copy of obj.

See Also

Working with Instances