• 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: NSMapTable with weak refs on 10.7
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMapTable with weak refs on 10.7


  • Subject: Re: NSMapTable with weak refs on 10.7
  • From: Quincey Morris <email@hidden>
  • Date: Fri, 10 Jan 2014 09:40:50 -0800

On Jan 10, 2014, at 08:38 , Jens Alfke <email@hidden> wrote:

>  Is there a way to make this work, or does NSMapTable just not support ARC-based weak references in 10.7?

IIRC, NSMapTable was simply unsafe to use with ARC until the introduction of ‘NSMapTableWeakMemory’ in 10.8, and I had to write my own map table class that supported ARC weak references.

NSMapTable is fine with ARC *now*, but that doesn’t help when running on 10.7.

_______________________________________________

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: 
 >NSMapTable with weak refs on 10.7 (From: Jens Alfke <email@hidden>)

  • Prev by Date: NSMapTable with weak refs on 10.7
  • Next by Date: stringByAddingPercentEncodingWithAllowedCharacters: and friends
  • Previous by thread: NSMapTable with weak refs on 10.7
  • Next by thread: stringByAddingPercentEncodingWithAllowedCharacters: and friends
  • Index(es):
    • Date
    • Thread