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

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?
主站蜘蛛池模板: 镇原县| 常州市| 钟祥市| 永丰县| 仁化县| 贵南县| 舟山市| 通化市| 邯郸市| 乡宁县| 哈密市| 兴业县| 南丰县| 镶黄旗| 通山县| 天祝| 雅安市| 清新县| 泽普县| 建平县| 资源县| 徐水县| 莱西市| 保德县| 临沂市| 河源市| 内丘县| 青岛市| 应城市| 巫山县| 兴义市| 抚宁县| 太仓市| 青州市| 仁寿县| 西和县| 松江区| 辉南县| 临安市| 沈丘县| 措美县|