Specifies that a given pointer will not be collected.
- macOS 10.5–10.10Deprecated
A pointer to the memory that should not be collected.
You use this method to ensure that memory at a given address will not be collected. You can use this, for example, to create new root objects:
The new dictionary will not be collectable and will persist for the lifetime of the application unless it is subsequently passed as the argument to
enable. For more about root objects and scanned memory, see Garbage Collection Programming Guide.