• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Does NSPointerArray support zeroing weak references under ARC
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Does NSPointerArray support zeroing weak references under ARC


  • Subject: Re: Does NSPointerArray support zeroing weak references under ARC
  • From: Quincey Morris <email@hidden>
  • Date: Sat, 09 Aug 2014 02:36:34 -0700

On Aug 9, 2014, at 01:46 , Roland King <email@hidden> 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 (and until 10.8, I suppose) there wasn’t a way to use weak references with this class in ARC (or, NSMapTable, for that matter — for a while there I had my own implementation of a NSMapTable-API-lookalike that *did* support ARC weak references).

When the weak pointer functionality was eventually restored, the new constants were introduced and the old ones deprecated.

I have to admit that I’ve read the description of the difference between the old and new constants several times, and I don’t really understand what it says. On a good day, perhaps, it makes sense for a few seconds before I need to go “Huh?” again.




_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Does NSPointerArray support zeroing weak references under ARC (From: Jonathan Mitchell <email@hidden>)
 >Re: Does NSPointerArray support zeroing weak references under ARC (From: Roland King <email@hidden>)

  • Prev by Date: Re: Swift and NSXPCInterface
  • Next by Date: Re: Bindings in Swift
  • Previous by thread: Re: Does NSPointerArray support zeroing weak references under ARC
  • Next by thread: Re: Does NSPointerArray support zeroing weak references under ARC
  • Index(es):
    • Date
    • Thread