For managing memory Core Foundation uses allocators, a reference-counting mechanism, and a policy of object ownership that is suggested by the names of functions. This topic covers related techniques for creating, copying, retaining, and releasing objects.
Memory management is fundamental to using Core Foundation effectively and efficiently. This document is essential reading for all developers who use Core Foundation.
The following concepts and tasks discuss the built in support Core Foundation provides for managing the memory allocation and deallocation of objects:
If you need to customize your allocators then read:
To find out more about byte ordering and swapping see:
Last updated: 2009-10-21