我想在Swift中存储一组弱引用.数组本身不应该是弱引用 - 它的元素应该是.我认为Cocoa NSPointerArray提供了非类型安全版本.
NSPointerArray
weak-references automatic-ref-counting nspointerarray swift
automatic-ref-counting ×1
nspointerarray ×1
swift ×1
weak-references ×1