Instance Method


Returns a zone of unscanned memory.


- (NSZone *)zone;

Return Value

A memory zone of memory that is not scanned.


The collector provides a NSZoneMalloc-style allocation interface, primarily for compatibility with existing code that maintains zone affinity. Such memory is unscanned and you must free it using NSZoneFree.  This is exactly equivalent to calling NSAllocateCollectable with the option NSCollectorDisabledOption.

You should typically allocate garbage-collected memory using NSAllocateCollectable