- Hands-On Design Patterns with Swift
- Florent Vilmart Giordano Scalzo Sergio De Simone
- 142字
- 2021-07-02 14:45:08
Summary
In this chapter, we explored the origins of ARC, the performant memory management paradigm available in Swift. With great power comes great responsibility, so you're still required to design your memory model with ARC in mind; failing to do so will lead to memory leaks or crashes caused by dangling pointers. By now, you should be comfortable with the advantages and drawbacks of both weak and unowned references. You should also understand why weak or unowned don't apply to value types. Last but not least, you should now be comfortable with setting your project up to efficiently debug memory with the tools from Xcode.
ARC sits at the compiler level, injected into your code as it is built. In the next chapter, we'll continue to refresh the basics and stretch our muscles, as we explore Foundation and the standard library.
- 數(shù)據(jù)庫基礎(chǔ)教程(SQL Server平臺)
- Unity 5.x Game AI Programming Cookbook
- 輕松學(xué)大數(shù)據(jù)挖掘:算法、場景與數(shù)據(jù)產(chǎn)品
- Spark快速大數(shù)據(jù)分析(第2版)
- Developing Mobile Games with Moai SDK
- Oracle RAC 11g實戰(zhàn)指南
- 數(shù)據(jù)庫應(yīng)用基礎(chǔ)教程(Visual FoxPro 9.0)
- Python醫(yī)學(xué)數(shù)據(jù)分析入門
- Hadoop集群與安全
- 中文版Access 2007實例與操作
- Hands-On System Programming with C++
- 云計算
- 一本書讀懂大數(shù)據(jù)
- 數(shù)字化轉(zhuǎn)型方法論:落地路徑與數(shù)據(jù)中臺
- Configuration Management with Chef-Solo