我用CV我自豪。

———————————————————————————————————CTRL+V,我能。...

CF的内存管理。

https://developer.apple.com/library/mac/#documentation/CoreFoundation/Conceptual/CFMemoryMgmt/CFMemoryMgmt.html


Memory Management Programming Guide for Core Foundation


Introduction

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.

Organization of This Document

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:

See Also

The following may also be of interest:


阅读更多
文章标签: allocation byte object
个人分类: iPhone
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭