- Hands-On Design Patterns with Swift
- Florent Vilmart Giordano Scalzo Sergio De Simone
- 59字
- 2021-07-02 14:45:05
Strong references
Strong references are the default. Any time that you set a property on an object or capture a reference inside a block, the reference count increases on the object, and the lifetime of the object is extended:
class Child {
}
class Parent {
let children: [Parent]
}
let c = MyClass()
let other = MyOtherClass(class: c)
推薦閱讀
- 數據庫基礎教程(SQL Server平臺)
- SQL入門經典(第5版)
- 數據庫原理及應用教程(第4版)(微課版)
- Libgdx Cross/platform Game Development Cookbook
- 達夢數據庫性能優化
- INSTANT Cytoscape Complex Network Analysis How-to
- 大數據架構和算法實現之路:電商系統的技術實戰
- Expert Python Programming(Third Edition)
- Oracle 11g+ASP.NET數據庫系統開發案例教程
- 云工作時代:科技進化必將帶來的新工作方式
- 數據中臺實戰:手把手教你搭建數據中臺
- Artificial Intelligence for Big Data
- 數據分析方法及應用:基于SPSS和EXCEL環境
- 一本書讀懂區塊鏈(第2版)
- 實用數據結構基礎(第四版)