- Objective-C Memory Management Essentials
- Gibson Tang Maxim Vasilkov
- 129字
- 2021-07-23 20:09:12
Chapter 2. Automatic Reference Counting
Good ideas live a long life and bad ones die fast. In Objective-C, reference counting's long life was seen as a very good idea. The next step of evolution in this is that it became automatic, so we call it Automatic Reference Counting (ARC), which was introduced by Apple Inc. in 2011 for application development on its desktop and mobile OS, Mac OS X Lion, and iOS 5. It changed the name of the initial referencing counting to Manual Reference Counting.
We will cover the following topics in this chapter:
- ARC and how it works
- Advantages and disadvantages of ARC
- Project settings for ARC
- Mixing code that doesn't support ARC with your project
- Memory model in Objective C
- ARC in UI kit
推薦閱讀
- Mastering JavaScript Object-Oriented Programming
- Effective C#:改善C#代碼的50個有效方法(原書第3版)
- 小創客玩轉圖形化編程
- 計算機圖形學編程(使用OpenGL和C++)(第2版)
- C/C++算法從菜鳥到達人
- oreilly精品圖書:軟件開發者路線圖叢書(共8冊)
- Practical DevOps
- Learning Neo4j 3.x(Second Edition)
- Getting Started with Gulp
- Spring Boot+Vue全棧開發實戰
- 編程可以很簡單
- JavaScript編程精解(原書第2版)
- Spring Boot學習指南:構建云原生Java和Kotlin應用程序
- Implementing Splunk(Second Edition)
- Hands-On Data Visualization with Bokeh