- Objective-C Memory Management Essentials
- Gibson Tang Maxim Vasilkov
- 132字
- 2021-07-23 20:09:11
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?
推薦閱讀
- LabVIEW 2018 虛擬儀器程序設計
- C語言程序設計基礎與實驗指導
- Clojure for Domain:specific Languages
- Building Mapping Applications with QGIS
- BIM概論及Revit精講
- HTML5與CSS3基礎教程(第8版)
- Unity 2017 Mobile Game Development
- CRYENGINE Game Development Blueprints
- PHP+MySQL動態網站開發從入門到精通(視頻教學版)
- Python 快速入門(第3版)
- HTML并不簡單:Web前端開發精進秘籍
- Building Scalable Apps with Redis and Node.js
- Programming MapReduce with Scalding
- Android移動應用程序開發
- Node.js Web Development