I’d like to store an array of weak references in Swift. The array itself should not be a weak reference – its elements should be. I think Cocoa NSPointerArray
offers a non-typesafe version of this.

I’d like to store an array of weak references in Swift. The array itself should not be a weak reference – its elements should be. I think Cocoa NSPointerArray
offers a non-typesafe version of this.