- 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?
推薦閱讀
- Hyper-V 2016 Best Practices
- Software Testing using Visual Studio 2012
- FFmpeg入門詳解:音視頻流媒體播放器原理及應用
- C語言程序設計實踐教程
- C語言程序設計案例式教程
- C#程序設計
- Jenkins Continuous Integration Cookbook(Second Edition)
- Learning jQuery(Fourth Edition)
- Python入門很輕松(微課超值版)
- Python語言科研繪圖與學術圖表繪制從入門到精通
- 代碼閱讀
- 寫給大家看的Midjourney設計書
- SignalR:Real-time Application Development(Second Edition)
- Python預測分析實戰
- Python機器學習開發實戰