Re: Does NSPointerArray support zeroing weak references under ARC

2014-08-12 Thread Sean McBride
On Sat, 9 Aug 2014 07:53:57 +0100, Jonathan Mitchell said: Does NSPointerArray support zeroing weak references under ARC? Yes as of 10.8, see the Foundation Release notes: https://developer.apple.com/library/mac/releasenotes/Foundation/RN-FoundationOlderNotes/ Cheers

Does NSPointerArray support zeroing weak references under ARC

2014-08-09 Thread Jonathan Mitchell
Does NSPointerArray support zeroing weak references under ARC? The test below seems to indicate that it does - though this is the sort of thing I often get wrong. Note that a NULL survives -compact. Presumably the method is free to not compact in trivial cases - or is there another

Re: Does NSPointerArray support zeroing weak references under ARC

2014-08-09 Thread Roland King
the various revisions of the document to see what actually changed. On 9 Aug 2014, at 2:53 pm, Jonathan Mitchell jonat...@mugginsoft.com wrote: Does NSPointerArray support zeroing weak references under ARC? The test below seems to indicate that it does - though this is the sort of thing I

Re: Does NSPointerArray support zeroing weak references under ARC

2014-08-09 Thread Quincey Morris
On Aug 9, 2014, at 01:46 , Roland King r...@rols.org wrote: I do sometimes wish the revision history was a bit more verbose, or at least there was a way to see the various revisions of the document to see what actually changed. The 2011-09-16 revision note was correct, because at that time