Swift 4 Weak References
http://www.mikeash.com/pyblog/friday-qa-2017-09-22-swift-4-weak-references.html [www.mikeash.com]
2017-09-26 18:53
Swift’s new implementation of weak references brings with it the concept of side tables. A side table is a separate chunk of memory which stores extra information about an object. It’s optional, meaning that an object may have a side table, or it may not. Objects which need the functionality of a side table can incur the extra cost, and objects which don’t need it don’t pay for it.