- 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
推薦閱讀
- Practical UX Design
- Learning C++ Functional Programming
- 動手玩轉Scratch3.0編程:人工智能科創教育指南
- Visual Basic程序設計教程
- Elasticsearch for Hadoop
- Mastering Linux Network Administration
- 移動界面(Web/App)Photoshop UI設計十全大補
- Hands-On GUI Programming with C++ and Qt5
- C++ System Programming Cookbook
- 超簡單:Photoshop+JavaScript+Python智能修圖與圖像自動化處理
- Python預測分析實戰
- Wearable:Tech Projects with the Raspberry Pi Zero
- React.js實戰
- Ionic Framework By Example
- HTML5 Boilerplate Web Development