Returns an instance of the
The memory zone in which to allocate the new object.
An instance of the
For backward compatibility on Mach,
alloc returns an instance of the
NSMach class when sent to the
NSPort class. Otherwise, it returns an instance of a concrete subclass that can be used for messaging between threads or processes on the local machine, or, in the case of
NSSocket, between processes on separate machines.