- 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
推薦閱讀
- 數據科學實戰手冊(R+Python)
- OpenStack Cloud Computing Cookbook(Third Edition)
- Drupal 8 Blueprints
- Java 開發從入門到精通(第2版)
- PostgreSQL Cookbook
- Oracle 12c中文版數據庫管理、應用與開發實踐教程 (清華電腦學堂)
- 看透JavaScript:原理、方法與實踐
- C#程序設計教程
- Java性能權威指南(第2版)
- 重學Java設計模式
- 深入淺出Serverless:技術原理與應用實踐
- 案例式C語言程序設計實驗指導
- Solr權威指南(下卷)
- 軟硬件綜合系統軟件需求建模及可靠性綜合試驗、分析、評價技術
- Java程序設計教程