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.

20 Answers
20

Leave a Reply

Your email address will not be published. Required fields are marked *