官术网_书友最值得收藏!

Chapter 1. Introduction to Objective-C Memory Management

In this chapter, we will concern ourselves principally with the core issues of the memory management problem as well as an Objective-C-based solution of it. We will look at the ownership and life cycle of the object. This basic idea is known as manual references counting, or Manual Retain Release (MRR), where you need to claim and relinquish ownership of every object. It defines an object's life cycle. And finally, we'll take a look deeper into NSObject for a better understanding of what's going on.

We will cover the following topics in this chapter:

  • Why do we need memory management in Objective-C?
  • An object's ownership and life cycle
  • The principles of reference counting
  • What's a memory leak and why pay attention to it?
主站蜘蛛池模板: 仙游县| 镇康县| 公主岭市| 迁安市| 开鲁县| 鹤庆县| 来宾市| 山西省| 杭锦后旗| 仁布县| 莱西市| 岐山县| 望都县| 望江县| 南澳县| 林芝县| 石家庄市| 云霄县| 浦城县| 沁水县| 河间市| 宁武县| 雷波县| 新宾| 永仁县| 岳池县| 二连浩特市| 泰来县| 伊通| 柘荣县| 体育| 屏山县| 岐山县| 历史| 闵行区| 凭祥市| 兴海县| 抚松县| 黄浦区| 揭阳市| 若羌县|