- 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?
推薦閱讀
- Ray分布式機器學習:利用Ray進行大模型的數據處理、訓練、推理和部署
- Mastering Kali Linux for Web Penetration Testing
- 深入淺出DPDK
- SQL Server 2012數據庫管理與開發項目教程
- 概率成形編碼調制技術理論及應用
- Bootstrap 4 Cookbook
- 現代C++編程實戰:132個核心技巧示例(原書第2版)
- SQL Server 2008 R2數據庫技術及應用(第3版)
- H5+移動營銷設計寶典
- Learning Kotlin by building Android Applications
- Java Web開發教程:基于Struts2+Hibernate+Spring
- iOS Development with Xamarin Cookbook
- H5匠人手冊:霸屏H5實戰解密
- 循序漸進Vue.js 3前端開發實戰
- Practical Time Series Analysis