- 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?
推薦閱讀
- 架構(gòu)不再難(全5冊)
- Practical Windows Forensics
- PHP網(wǎng)絡(luò)編程學(xué)習(xí)筆記
- 劍指MySQL:架構(gòu)、調(diào)優(yōu)與運維
- Mathematica Data Analysis
- Learning ArcGIS for Desktop
- Mastering ROS for Robotics Programming
- 分布式架構(gòu)原理與實踐
- jQuery從入門到精通(微課精編版)
- Android 游戲開發(fā)大全(第二版)
- Python機器學(xué)習(xí)開發(fā)實戰(zhàn)
- Beginning C# 7 Hands-On:The Core Language
- Beginning PHP
- 計算思維與Python編程
- 微信公眾平臺開發(fā)最佳實踐