nspointerarray Questions

19

Solved

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....
Microsporophyll asked 9/6, 2014 at 19:34

3

Solved

I have a weak NSPointerArray with some NSObject that has been released. Before calling compact what I see is: (lldb) po [currentArray count] 1 (lldb) po [currentArray pointerAtIndex:0] <nil>...
Bedizen asked 9/7, 2015 at 15:43
1

© 2022 - 2025 — McMap. All rights reserved.