- 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.
- Redis使用手冊
- 數(shù)據(jù)浪潮
- Unity 5.x Game AI Programming Cookbook
- DB29forLinux,UNIX,Windows數(shù)據(jù)庫管理認(rèn)證指南
- Game Development with Swift
- 大數(shù)據(jù)可視化
- Spark大數(shù)據(jù)分析實(shí)戰(zhàn)
- 機(jī)器學(xué)習(xí):實(shí)用案例解析
- 利用Python進(jìn)行數(shù)據(jù)分析(原書第2版)
- Scratch 2.0 Game Development HOTSHOT
- Google Cloud Platform for Architects
- Oracle 11g數(shù)據(jù)庫管理員指南
- Unity for Architectural Visualization
- 數(shù)據(jù)會說話:活用數(shù)據(jù)表達(dá)、說服與決策
- Learning Libgdx Game Development